ABSTRACT

This chapter details the implementation of another game audio asset – MIDI (the Musical Instrument Digital Interface). The high-level musical services offered via MIDI are discussed, and a robust interpreter for both MIDI input and output streams is presented. Platform-specific operations are again compartmentalized for easy replacing when moving to a different platform.