Sounds
Sounds
The sounds object allows for easy sound and music integration in your creations.
Creation
Sounds
Creates a new Sounds object
Functions
Play
Play
Plays a sample / music
Beep
Plays a beep of the given frequency and duration
Stop
Stop
Stops all samples / music with the given name
StopAllSamples
Stops all samples from playing
StopMusic
Stops whichever music file is currently playing
StopAll
Stops all samples and musics
Now playing
CountPlayingSamples
Returns the number of samples currently playing
CountPlayingMusics
Returns the number of music files currently playing
IsPlaying
Returns TRUE if the given sample/music is playing
Volume
SetSampleVolume
Sets the overall sample volume of the game
GetSampleVolume
Returns the overall sample volume of the game
SetMusicVolume
Sets the overall music volume of the game
GetMusicVolume
Returns the overall music volume of the game
Mute
SetSampleMute
Mutes or un-mutes all the samples in the game
IsSampleMute
Returns TRUE if the samples are muted
SetMusicMute
Mutes or un-mutes all the musics in the game
IsMusicMute
Returns TRUE if the musics are muted
JAM © 2005 no one in partiular
Project started by David Evans in 2005