Supporting MIDI Devices

Functions in soundlib.lib provide support for MIDI synthesizers and external MIDI devices. Both Ad Lib and OPL3 synthesizer types are supported. External MIDI devices are supported in UART mode. All of these capabilities are utilized by sndblst.sys.

Supporting MIDI Synthesizers

To make use of the synthesizer functions provided in soundlib.lib, do the following:

Additionally, if your hardware generates an interrupt for timer expiration, your driver must provide code to connect to the interrupt and to dismiss the interrupt. This interrupt is not handled by soundlib.lib.

Supporting External MIDI Devices

To use soundlib.lib for handling external MIDI devices, you must: