Sound#

Introduction#

The Sound functions play built-in VEXcode sounds through the computer running VEXcode that the V5 Brain is connected to.

Below is a list of all functions:

Actions — Play sounds.

Actions#

playVexcodeSound#

playVexcodeSound plays a built-in VEXcode sound through the computer running VEXcode that the V5 Brain is connected to.

Usage:
playVexcodeSound(sound);

Parameter

Type

Description

sound

const char*

The sound to play: “game over”.

Return Value:
This function does not return a value.

// Play the game over sound
playVexcodeSound("game over");