Play Sound
Plays one of PadCode's built-in sounds.
Category: Messages & Feedback
#When to use it
Use it for a short sound cue: a timer that's done, a right answer, something that went wrong.
#Example
Inside the timer's steps, when the time is up: Play Sound with Sound: Alarm.
#Good to know
- Sound has six sounds to pick from; you can't add your own.
- It doesn't wait for the sound to end.
#Add it
Select a view, open the Inspector's Actions tab, pick when it runs, tap Add action and choose Play Sound (under Messages & Feedback). Tap the step to open its settings.
#Settings
| Setting | What it does | Kind | Default |
|---|---|---|---|
| Sound | Which sound. | Choice: Chime, Pop, Success, Failure, Tick, Alarm | Required |