MIDI has the following use cases:
MIDI file playback
Interactive MIDI playing
Playback for a MIDI file works in the same way as the other audio content types.
A player is created with the locator device://midi
for
pure interactive MIDI. Interactive playing is possible by using MIDIControl
. MIDIControl
can
be used for various tasks, for example, changing MIDI channel volumes, changing
instrument assignments to channels, playing notes, and so on.
Bank queries are not supported (isBankQuerySupported
returns
false).