PulseSound class
- Inheritance
-
- Object
- Sound
- GeneratedSound
- PulseSound
Properties
- dutyCycle ↔ double
-
Duty cycle of the pulsewave. Percentage of the cycle in which wave is in the high state. Clamped between 0 and 1.
getter/setter pair
- freq ↔ double
-
Waveform frequency. Generally, corresponds to pitch.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- volume ↔ double
-
A
double
greater than0
(values greater than1
may 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 -
Stop the sound, but keep 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
-
unload(
) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited