mojo:mojo.audio.Sound
The Sound class.
Constructors | |
---|---|
New | Creates a new sound. |
Properties | |
---|---|
Duration | The duration, in seconds, of the sound. (read only) |
Format | The format of the sound. (read only) |
Hertz | The playback rate of the sound. (read only) |
Length | The length, in samples, of the sound. (read only) |
Methods | |
---|---|
Play | Plays a sound through a temporary channel. |
Functions | |
---|---|
Load | Loads a sound. |