MidiDevice
Interface MidiDevice
- All Superinterfaces:
- AutoCloseable
- All Known Subinterfaces:
- Sequencer, Synthesizer
public interface MidiDevice extends AutoCloseable
MidiDevice
is the base interface for all MIDI devices. Common devices include synthesizers, sequencers, MIDI input ports, and MIDI output ports.
A MidiDevice
can be a transmitter or a receiver of MIDI events, or both. Therefore, it can provide Transmitter
or Receiver
instances (or both)- Typically, MIDI IN ports provide transmitters, MIDI OUT ports and synthesizers provide receivers- A Sequencer typically provides transmitters for playback and receivers for record