Sound#
Introduction#
The VEX 123 Robot can produce audio through its built-in speaker. The Sound methods play preloaded sound effects.
Below is a list of all methods:
Actions — Play sounds from the robot.
play— Play one of the robot’s built-in sounds.
Actions#
play#
play plays one of the robot’s built-in sounds.
Usage:
robot.sound.play(sound)
Parameter |
Description |
|---|---|
|
The sound to play. |
Sound Name |
Play Sound |
|---|---|
|
|
|
|
|
|
|
Plays a random sound from the sounds above. |
# Play the doorbell sound
robot.sound.play(DOORBELL)