Sound#
Introduction#
The VEX AIR Drone Controller’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 methods:
Actions – Play or stop sounds.
play – Plays a built-in sound effect.
play_file – Plays a user-uploaded custom sound.
play_note – Plays a musical note for a set duration.
stop – Stops any currently playing sound.
set_mic_mute - Mutes or un-mutes the microphone.
set_headset_volume - Sets the headset volume.
Getter – Check sound status.
is_active – Returns whether a sound is currently playing.
get_mic_mute - Returns whether or not the microphone is muted.
get_headset_volume - Returns the headset volume.