The following tutorial demonstrates the use of a playsound component and the sound library by creating a simple playsound model. The playsound component provides the ability to play digitally encoded soundfiles. Sounds that have no dynamically varying elements (except for overall volume level) are best handled as fixed off-line recorded sound files (e.g. Missile launch)
In RMS, the Uploading Sound Files page provides a two-step process to uploading sound files on the system. The user must first select a waveset or create a new one. The waveset is a folder that contains the soundfiles in the sound repository. The selected sound files are then uploaded to the waveset folder
Important: All soundfiles must be in the following format: 16-bit PCM MONO WAV files with a 48khz sample rate. RMS will give you an error if the file is not in this format
In the Project Manager > Sound Repositories, right-click to add a new sound library and name it accordingly. Open the Sound Library Editor and add groups, as necessary, to the library. The groups provide organization of the soundfiles
To upload sound files to the Target open RMS and navigate to the Audio section. Open the Upload Sound Files page and follow the instructions to add individual . wav files or upload one .tgz archive containing multiple sound files
Important: All soundfiles must be in the following format: 16-bit PCM MONO WAV files with a 48khz sample rate. RMS will give you an error if the file is not in this format
To locate soundfiles on the Target you must 'ssh' into the Target. From the ACE Studio Project Manager right-click the Teelstra in the layout and select 'ssh'
In the command line type the following:
cd var/local/asti or cd var/local/asti/soundfiles/<waveset>