MIDI Library

The MIDI library supports communication with MIDI enabled instruments and devices. To use it, you need following in your program:

 

The MIDI library provides two types of objects:

MidiIn objects and MidiOut objects:

  • MidiIn objects may be used in your programs to get input from MIDI devices that generate input events (e.g., a MIDI guitar, keyboard, or control surface).
  • MidiOut objects may be used in your programs to send output to MIDI devices that accept output events (e.g., an external MIDI synthesizer).

MIDI devices typically need to be physically connected (via a MIDI cable) to your computer.

For more information, see chapter 9.