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.Info info)
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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.