The application has been designed to allow the user to import 3rd party music and to indicate at which point a desired theme should be played during the game. The following formats are supported:-
Midi Files : These are files that contain a set of instructions for a computer or synthesizer to play. They do not contain actual sounds, but information on how to make the sounds instead. The files are typically compact and rarely exceed a few hundred kilobytes. The major drawback of this format is that their playback can vary depending on the device that is used to read them.
Ogg-Vorbis Files : These are similar to MP3 but are open source and do not incur licensing fees. Whilst they produce high quality playback that sounds basically identical on different devices they are considerably larger than ‘midi’ files with a size of around 2-5 Mbytes. A further disadvantage is that when these files are loaded into RAM ready for playing they typically expand by a factor of 10 and thus machines that have limited quantities of such memory (i.e. 256M) should avoid using these files in the game. MP3 files can be readily converted into the Ogg-Vorbis format and an excellent free conversion tool can be found at NCH Swift Sound (www.nch.com.au/switch).
Music in the form of an ‘ogg’ file should be copied into the ‘ogg’ directory, whilst ‘midi’ files should be copied into the ‘midi’ directory as shown in the diagram above. These files will then be automatically picked up when the application boots.