5.4 Music Composition

Music composition involves creating midi sequences and then importing them into the game. Midi sequences can be created using any of a variety of sequencer applications such as: Performer, Vision, Cubase, and MasterTracks, to name a few. After the sequences are saved as midi files, they should be converted before being included in the game. If you are planning to use the compressed MIDI sequence player, the sequences should be run through midicmp. If you are using the regular sequence player, the sequences are run through midicvt. After the sequences are converted, they can be assembled into sequence banks with the sbk tool. This is optional, since midi sequences can be used without being part of a sequence bank. To include the sequences in the game, a segment containing the sequence data should be added to the spec file. (See the demo application "simple" for an example of this.)

To learn more about using sequences in a game, please see Chapter 17, "Audio Library"

UP