- Messages related to the
Soundmodule.
Static variables
staticread onlyplay_sound:Message<SoundMessagePlaySound> = new Message<SoundMessagePlaySound>("play_sound")
- Plays a sound.
Post this message to a sound-component to make it play its sound. Multiple voices is supported. The limit is set to 32 voices per sound component.
staticread onlyset_gain:Message<SoundMessageSetGain> = new Message<SoundMessageSetGain>("set_gain")
- Set sound gain.
Post this message to a sound-component to set gain on all active playing voices.
staticread onlysound_done:Message<SoundMessageSoundDone> = new Message<SoundMessageSoundDone>("sound_done")
- This message is sent back to the sender of a
play_soundmessage, if the sound could be played to completion.
staticread onlysound_stopped:Message<SoundMessageSoundStopped> = new Message<SoundMessageSoundStopped>("sound_stopped")
- This message is sent back to the sender of a
play_soundmessage, if the sound has been manually stopped.
staticread onlystop_sound:Message<Void> = new Message<Void>("stop_sound")
- Stop a playing a sound(s).
Post this message to a sound-component to make it stop playing all active voices