SynthizerWave class
A synthizer wave.
- Implemented types
Constructors
- SynthizerWave({required SynthizerSoundBackend backend, required FastSineBankGenerator generator})
-
Create an instance.
const
Properties
- backend → SynthizerSoundBackend
-
The backend to use.
final
- context → Context
-
The context to use.
no setter
- gain ↔ double
-
Get the generator gain.
getter/setter pairoverride-getter
- generator → FastSineBankGenerator
-
The generator to play through.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelFade(
) → void -
Cancel any fade out started by calls to the fade method.
override
-
destroy(
) → void -
Destroy generator.
override
-
fade(
{required double length, double endGain = 0.0, double? startGain, double preFade = 0.0}) → void -
Fade the generator.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → void -
Pause the generator.
override
-
setFrequency(
double frequency, {double? time}) → void -
Set the frequency for generator.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unpause(
) → void -
Unpause generator.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited