Sound#
Introduction#
The VEX 123 Robot can produce audio through its built-in speaker using blocks from the Sound category. These blocks play preloaded sound effects.
Below is a list of available blocks:
play sound – Plays one of the robot’s built-in sound effects.
play sound#
The play sound block plays one of the robot’s built-in sounds.
play sound [honk v]
Parameters |
Description |
|---|---|
sound |
One of the built-in sounds shown below. |
Sound Name |
Play Sound |
|---|---|
honk |
|
doorbell |
|
crash |
|
random |
Plays a random sound from the 3 sounds above. |
Example
when started, play sound act happy.#
when started :: hat events
[Play the doorbell sound.]
play sound [doorbell v]