A Note on Sound

Only MP3 and OGG audio formats can be used. We suggest audio to be encoded at 44.1 kHz, 192 kbps.

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 web 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. Volume control in the skin won’t work. But you can use action filters.

See also