WaveformSound class
- Inheritance
-
- Object
- Sound
- GeneratedSound
- WaveformSound
Properties
- freq ↔ double
-
Waveform frequency. Corresponds to pitch.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPlaying → bool
-
no setterinherited
- pitch ↔ double
-
A
doublegreater than0. Changes both the pitch and the speed. Changing only one requires complex audio proccessing algorithms.getter/setter pairinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ WaveformType
-
getter/setter pair
- volume ↔ double
-
A
doublegreater than0(values greater than1may behave differently from platform to platform).getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → void -
Stops the sound, but keeps it's position.
inherited
-
play(
) → void -
Starts the sound. Played from the beginning if was paused.
inherited
-
resume(
) → void -
Starts the sound. Continues if was paused.
inherited
-
stop(
) → void -
Stops the sound and resets it's position.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited