Play Sound
Plays a sound effect with optional volume and pitch inputs and outputs the channel the sound is played on. Use the settings to change which sound effect is played.
Input/Output
Unlike most other blocks, a wire connected to Before is required for it do do anything, it does not run automatically.
Wire | Range | Note |
---|---|---|
Volume | 0 to 1 | |
Pitch | 0 to 4 | |
Channel | -1 to 7 | Only -1 when channels 0 to 7 are occupied. If so, the sound will fail to play. |
Settings
The rightmost setting displays which sound effect is played. Tap to change.
Checking Loop will make the sound repeat on the chosen channel until stopped with Stop Sound. A looping channel becomes occupied until it is stopped, meaning other Play Sound blocks will not choose that channel.