Sound#
Introduction#
The VEX AIR Hornet’s sounds allow users to play built-in sounds, custom audio files, and musical notes. It also includes controls for stopping sounds and detecting if audio is currently playing.
Below is a list of all available blocks:
Sounds - Play and Stop Sounds
play sound – Plays a built-in sound from a predefined list.
play sound file – Plays a user-uploaded sound.
play note – Plays a musical note with a specified pitch, octave, and duration.
stop sound – Stops any currently playing sound.
sound active? – Checks if a sound is currently playing.
Headset - Change and Get Headset Settings
mute headset microphone - Mutes the headset microphone.
is headset microphone muted? - Returns whether or not the headset microphone is muted.
set headset volume - Sets the volume of the headset.
headset volume - Returns the headset volume.