# Uses of Class
javax.sound.midi.MidiUnavailableException

Packages that use MidiUnavailableException
Package
Description
javax.sound.midi
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.

## Uses of MidiUnavailableException in javax.sound.midi

Methods in javax.sound.midi that throw MidiUnavailableException
Modifier and Type
Method
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.
`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.