mojo.audio.Sound - nitrologic/monkey2 GitHub Wiki
mojo::mojo.audio.Sound
std:std.resource.Resource
Class Sound ExtendsThe 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. |