A Note on Sound
MP3, OGG, and AC3 formats can be used. We suggest encoding your audio with a sample rate of 44.1 kHz and a bit rate of at least 192 kbps. Add the MP3 as the main file for both outputs and the OGG for the alternative file.
However, a bit rate of 192 kbps may produce too large of a file for your project. If your audio file has a large dynamic range, e.g. music, and you want to keep the integrity of the sound, it’s best to keep the 44.1 kHz sample rate. If you wish to knock the file size down a bit, try lowering the bit rate to 160 kbps, and then to 128 kbps if needed (and then to 96 kbps).
The other option is to externalize your sound file. This happens automatically for the HTML5 output.
If your sound file is not dynamically wide, e.g. a button click sound, you could use a lower sample rate. You could then lower the bit rate.
Keep in mind, that some browsers may require user action to start the sound. For this case, add a button that will Play Media.
Sound control on mobile devices requires the use of Play/Pause buttons; sound will start to play until the user has begun to interact with the project. Also, volume control in the skin will not work. But you can use action filters.