The volume of everything, from 0 (silent) to 1 (full). This multiplies
with musicVolume and sfxVolume.
The volume of everything, from 0 (silent) to 1 (full)
The volume of all music, from 0 (silent) to 1 (full). The default is 1.
NB: Setting the volume of one playback of a sound, via ISound.volume(v, id), overrides this for that playback.
The volume of all music, from 0 (silent) to 1 (full)
Is all audio muted? Muting doesn't change any of the volume settings, so unmuting puts everything back the way it was.
Is all audio muted?
The volume of all sound effects, from 0 (silent) to 1 (full). The default is 1.
NB: Setting the volume of one playback of a sound, via ISound.volume(v, id), overrides this for that playback.
The volume of all sound effects, from 0 (silent) to 1 (full)
Get a previously loaded Music object. It's an error to ask for music that
isn't in the list of music names in the game's Config.
Name of the music file to retrieve
Get a previously loaded Sound object. It's an error to ask for a sound
that isn't in the list of sound names in the game's Config.
Name of the sound file to retrieve
AudioLibraryService provides a library of sound and music objects that can be played at any time. The only difference between sounds and music is that music objects will always loop, whereas sound objects never will.