AdelaySettings class final

Configuration for the adelay audio effect.

Delay one or more audio channels.

Samples in delayed channel are filled with silence.

The filter accepts the following option:

Parameters:

  • all: Use last set delay for all remaining channels. By default is disabled. This option if enabled changes how option delays is interpreted. (range 0..1, default 0)
  • delays: Set list of delays in milliseconds for each channel separated by '|'. Unused delays will be silently ignored. If number of given delays is smaller than number of channels all remaining channels will not be delayed. If you want to delay exact number of samples, append 'S' to number. If you want instead to delay in seconds, append 's' to number. (range 0..0, default "", runtime-tunable)
Available extensions

Constructors

AdelaySettings({bool enabled = false, bool all = false, String delays = ''})
Creates an AdelaySettings with the given parameter values.
const

Properties

all bool
use last available delay for remained channels
final
channelDelaysMs List<double>

Available on AdelaySettings, provided by the AdelayChannelsX extension

Decoded list of channel delays in milliseconds, in declaration order (channel 0 first).
no setter
delays String
set list of delays for each channel
final
enabled bool
Whether this effect is inserted into the audio chain.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? enabled, bool? all, String? delays}) AdelaySettings
Returns a copy of this AdelaySettings with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFilterString() String
Returns the audio chain entry for this effect. Only non-default parameters are emitted.
toString() String
A string representation of this object.
override
withChannelDelaysMs(List<double> delaysMs) AdelaySettings

Available on AdelaySettings, provided by the AdelayChannelsX extension

Returns a copy whose delays string reflects delaysMs in declaration order. Empty input clears the filter.

Operators

operator ==(Object other) bool
The equality operator.
override