Familiarize yourself with adding actions to buttons.
The command to play a sound effect is play
The optional delay parameter is also available - it specifies a time (in milliseconds) to wait before running the command.
Example
Punch sound effect play Punch.mp3 |
Handling sound effects with the desktop app
If you use this option then simply drag the folder containing your sound effects on to the desktop app. This will import the sound effects and make them available to play - a dialog box should appear to let you know if the action was successful. To add more effects, just add them to the same folder then drag over the desktop app again.
New in v2.1.7 of the desktop app : stop a sound effect while it is playing with the sfxstop command ...
Stop playing Beethoven sfxstop Beethoven.mp3 |