Uploading Custom Sounds#

Open the Control Panel#

Select the Gear icon to open the Control Panel.

A screenshot of the upper left corner of the VEXcode AIR Toolbar, with the gear icon highlighted below the download icon.

Select the Sounds tab#

A close up screenshot of the top of the Control panel in VEXcode AIR, with the Sounds tab on the right highlighted.

Select an Upload icon#

A close up screenshot of the Sound tab in Control panel in VEXcode AIR open, with the upload icon, a file folder with an up arrow on it, in row 1 highlighted.

Use the Sound Selector#

The Sound Selector will appear. Select any preloaded sound to use before selecting Send to Drone.

A screenshot of the Sound Selector in VEXcode AIR reads Select a Sound at the top, with a 3 by 4 table of sound options available. Number 3 in the top row is highlighted, along with the Send to Drone button in the lower right corner.

To upload a custom sound, select Upload Custom Sound before selecting Select File to open your device’s file navigation.

Note: Sound files must be MP3s that are smaller than 1 MB.

The same image as the one previous, now with the Upload Custom Sound option in the lower right corner of the grid highlighted, along with the Select File directly below it.

The sound is now available#

The sound will be uploaded and will appear in the chosen slot. By default, sounds will be named SOUND1 with the number matching the slot the sound is uploaded to.

The buttons in the uploaded sound’s slot become enabled once a sound is uploaded. The buttons allow you to overwrite, preview, delete, or rename the uploaded sound file.

A close up screenshot of the Sounds Tab of the Control Panel in VEXcode AIR reads Sound 1 in the first row, and all buttons are available. From left to right they are Upload, Play sound, and trash.

You can use the custom sound in a project using the following commands in the Sound category for Blocks or Python:

Show image file custom image#
    [Select your sound from the dropdown.]
    play sound file [SOUND1 v] ▶
# Change SOUND1 to the name of your sound
controller.sound.play_file(SOUND1)

Rename a sound file#

Select the Pencil icon to rename the sound. This will be the sound’s name when using the sound file in your projects.

Note: Names cannot begin with a number and must be no longer than 14 characters.

The same screenshot as previously, with the row 1 sound file reading Takeoff, and the pencil edit icon to the right of the text highlighted.

Preview a sound file#

Select the Computer icon to hear the sound on your device.

The same screenshot of row 1 as previously, with the center button below the name highlighted. The button has a computer and a play arrow icon.

Delete a sound file#

Select the Trash icon to delete a sound file from a slot.

The same screenshot of row 1 as previously, with the right button below the name highlighted. The button has a trash can icon.

To delete all sounds at once, select the Delete All Sounds button at the bottom of the Sounds tab.

A close up screenshot of the bottom of the Sounds tab in the Control Panel showing row 10 with the Delete All Sounds button in the bottom center highlighted.