Uploading Custom Sounds in VEXcode AIR

The VEX AIR Drone allows for up to ten custom sounds to be used in a project. This article will walk you through where and how to upload and use custom sounds in VEXcode AIR.

Using the Control Panel to Upload Custom Sounds

A close-up screenshot of the upper right side of the VEXcode AIR Toolbar, highlighting the gear icon located beneath a green Controller icon and the Download button.

First, open the Control Panel by selecting the Gear icon.

Sounds tab highlighted in the Control Panel. It is the third tab from the left.

Select the Sounds tab.

sound upload.png

Select the Upload icon for the desired slot. VEXcode AIR allows for 10 different sounds to be uploaded.

sound unchecked.png

The Sound Selector will appear. Here options will appear for preloaded sounds as well as an option for uploading your own custom sound. 

The Sound Selector window showing all available sounds is shown, with the Number 2 preloaded sound in the top row and the select file button highlighted.

Choose any preloaded sound before selecting Send to Drone to add that sound to the drone's available sounds.

You can also select the Play button hear a preview of what a sound is.

The Sound Selector window showing all available sounds is shown, with the Upload Custom Sound button at the bottom right and the select file button highlighted.

Select Upload Custom Sound to use a different custom sound. Use the Select File button to open your device's file navigation.

Navigate through your device's file menu and select your custom sound.

Note: Sound files must be MP3s.

Sounds tab with a sound uploaded in slot 1. Options below the name of the sound appear as selectable blue buttons.

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.

For more information on how to use a custom sound in a project, refer to the VEXcode AIR API.

Renaming a Sound File

Any sound file can be renamed in the Control Panel.

Pencil icon to the right of the uploaded sound and above the trash icon highlighted.

Select the edit icon to the right of the current sound name.

Window showing the renamed sound as My underscore Sound. A highlight is on the update button in the bottom right corner.

A window will appear. Type the new name for the sound file into the text box, then select Update

Sound names can contain a maximum of 14 characters and cannot cannot begin with a number or include spaces.

Custom sound in slot 1 renamed to my underscore sound to match the previous popup window.

The updated sound name will now appear in the Control Panel.

This update will also show in the parameter dropdown for the Play sound file block or the autocomplete for the Python command depending on your coding method.

Playing a Sound File

After uploading the sound file, an option will become available to play the sound on your device.

The sound icon showing a computer screen and a play button is highlighted. It is the center of three icons in the slot.

To hear the sound played on your device, select the Computer icon.

Deleting a Sound File

The trashcaon icon in slot 1 of the Sounds Tab is highlighted. It is the leftmost of the three icons.

To delete a sound from the Control Panel, select the Trash icon.

The Delete All Sounds button underneath slot 10 in the Sounds Tab is highlighted.

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

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: