Sounds
Sounds

The sounds object allows for easy sound and music integration in your creations.

Creation
 
SoundsCreates a new Sounds object
Functions
 
Play
PlayPlays a sample / music
BeepPlays a beep of the given frequency and duration
Stop
StopStops all samples / music with the given name
StopAllSamplesStops all samples from playing
StopMusicStops whichever music file is currently playing
StopAllStops all samples and musics
Now playing
CountPlayingSamplesReturns the number of samples currently playing
CountPlayingMusicsReturns the number of music files currently playing
IsPlayingReturns TRUE if the given sample/music is playing
Volume
SetSampleVolumeSets the overall sample volume of the game
GetSampleVolumeReturns the overall sample volume of the game
SetMusicVolumeSets the overall music volume of the game
GetMusicVolumeReturns the overall music volume of the game
Mute
SetSampleMuteMutes or un-mutes all the samples in the game
IsSampleMuteReturns TRUE if the samples are muted
SetMusicMuteMutes or un-mutes all the musics in the game
IsMusicMuteReturns TRUE if the musics are muted



JAM © 2005 no one in partiular
Project started by David Evans in 2005