Sound#
Introduction#
The Sound methods play built-in VEXcode sounds through the computer running VEXcode that the V5 Brain is connected to.
Below is a list of all methods:
Actions — Play sounds.
play_vexcode_sound— Play a built-in VEXcode sound through the computer.
Actions#
play_vexcode_sound#
play_vexcode_sound plays a built-in VEXcode sound through the computer running VEXcode that the V5 Brain is connected to.
Usage:
play_vexcode_sound(sound)
Parameter |
Description |
|---|---|
|
The sound to play: |
# Play the game over sound
play_vexcode_sound("game over")