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.

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

sound

The sound to play: “game over”.

# Play the game over sound
play_vexcode_sound("game over")