78.2.3 The MIDI Mapper

The MIDI Mapper provides standard patch services for device-independent playback of MIDI files. Standard patch services ensure different MIDI snythesizers use the same instrument sounds to reproduce the music in a MIDI file.

The MIDI Mapper translates and redirects messages sent to it by low-level MIDI output functions. Because the high-level MIDI services use low-level MIDI output functions, the MIDI Mapper can be used with high-level MIDI services, as well as low-level MIDI services. For information on the architecture of the MIDI Mapper and how to use the Mapper with high-level audio services, see Chapter 79, “High-Level Audio.” For information on using the Mapper with low-level audio services, see Chapter 80, “Low-Level Audio.” MIDI files must follow certain authoring guidelines to use the standard patch services provided by the MIDI Mapper. For details on these authoring guidelines, see Chapter 79, “High-Level Audio.”