Package | Description |
---|---|
javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
|
javax.sound.midi.spi |
Supplies interfaces for service providers to implement when
offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
|
Modifier and Type | Method and Description |
---|---|
MidiDevice.Info |
MidiDevice.getDeviceInfo()
Obtains information about the device, including its Java class and
Strings containing its name, vendor, and description. |
static MidiDevice.Info[] |
MidiSystem.getMidiDeviceInfo()
Obtains an array of information objects representing
the set of all MIDI devices available on the system.
|
Modifier and Type | Method and Description |
---|---|
static MidiDevice |
MidiSystem.getMidiDevice(MidiDevice.Info info)
Obtains the requested MIDI device.
|
Modifier and Type | Method and Description |
---|---|
abstract MidiDevice.Info[] |
MidiDeviceProvider.getDeviceInfo()
Obtains the set of info objects representing the device
or devices provided by this
MidiDeviceProvider . |
Modifier and Type | Method and Description |
---|---|
abstract MidiDevice |
MidiDeviceProvider.getDevice(MidiDevice.Info info)
Obtains an instance of the device represented by the info object.
|
boolean |
MidiDeviceProvider.isDeviceSupported(MidiDevice.Info info)
Indicates whether the device provider supports the device represented by
the specified device info object.
|
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, 2015, Oracle and/or its affiliates. All rights reserved.