| Package | Description |
|---|---|
| javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
|
| Modifier and Type | Method and Description |
|---|---|
static MidiDevice |
MidiSystem.getMidiDevice(MidiDevice
Obtains the requested MIDI device.
|
Receiver |
MidiDevice.getReceiver()
Obtains a MIDI IN receiver through which the MIDI device may receive MIDI data.
|
static Receiver |
MidiSystem.getReceiver()
Obtains a MIDI receiver from an external MIDI port or other default device.
|
static Sequencer |
MidiSystem.getSequencer()
Obtains the default
Sequencer, connected to a default device.
|
static Sequencer |
MidiSystem.getSequencer(boolean connected)
Obtains the default
Sequencer, optionally connected to a default device.
|
static Synthesizer |
MidiSystem.getSynthesizer()
Obtains the default synthesizer.
|
Transmitter |
MidiDevice.getTransmitter()
Obtains a MIDI OUT connection from which the MIDI device will transmit MIDI data The returned transmitter must be closed when the application has finished using it.
|
static Transmitter |
MidiSystem.getTransmitter()
Obtains a MIDI transmitter from an external MIDI port or other default source.
|
void |
MidiDevice.open()
Opens the device, indicating that it should now acquire any system resources it requires and become operational.
|