Package javax.sound.midi

Interface Summary
ControllerEventListener sample code for javax.sound.midi.ControllerEventListener definition code for javax.sound.midi.ControllerEventListener The ControllerEventListener interface should be implemented by classes whose instances need to be notified when a Sequencer has processed a requested type of MIDI control-change event.
MetaEventListener sample code for javax.sound.midi.MetaEventListener definition code for javax.sound.midi.MetaEventListener The MetaEventListener interface should be implemented by classes whose instances need to be notified when a Sequencer sample code for javax.sound.midi.Sequencer definition code for javax.sound.midi.Sequencer has processed a MetaMessage sample code for javax.sound.midi.MetaMessage definition code for javax.sound.midi.MetaMessage .
MidiChannel sample code for javax.sound.midi.MidiChannel definition code for javax.sound.midi.MidiChannel A MidiChannel object represents a single MIDI channel.
MidiDevice sample code for javax.sound.midi.MidiDevice definition code for javax.sound.midi.MidiDevice MidiDevice is the base interface for all MIDI devices.
Receiver sample code for javax.sound.midi.Receiver definition code for javax.sound.midi.Receiver A Receiver receives MidiEvent sample code for javax.sound.midi.MidiEvent definition code for javax.sound.midi.MidiEvent objects and typically does something useful in response, such as interpreting them to generate sound or raw MIDI output.
Sequencer sample code for javax.sound.midi.Sequencer definition code for javax.sound.midi.Sequencer A hardware or software device that plays back a MIDI sequence sample code for javax.sound.midi.Sequence definition code for javax.sound.midi.Sequence is known as a sequencer.
Soundbank sample code for javax.sound.midi.Soundbank definition code for javax.sound.midi.Soundbank A Soundbank contains a set of Instruments that can be loaded into a Synthesizer.
Synthesizer sample code for javax.sound.midi.Synthesizer definition code for javax.sound.midi.Synthesizer A Synthesizer generates sound.
Transmitter sample code for javax.sound.midi.Transmitter definition code for javax.sound.midi.Transmitter A Transmitter sends MidiEvent sample code for javax.sound.midi.MidiEvent definition code for javax.sound.midi.MidiEvent objects to one or more Receivers sample code for javax.sound.midi.Receiver definition code for javax.sound.midi.Receiver .
 

Class Summary
Instrument sample code for javax.sound.midi.Instrument definition code for javax.sound.midi.Instrument An instrument is a sound-synthesis algorithm with certain parameter settings, usually designed to emulate a specific real-world musical instrument or to achieve a specific sort of sound effect.
MetaMessage sample code for javax.sound.midi.MetaMessage definition code for javax.sound.midi.MetaMessage A MetaMessage is a MidiMessage sample code for javax.sound.midi.MidiMessage definition code for javax.sound.midi.MidiMessage that is not meaningful to synthesizers, but that can be stored in a MIDI file and interpreted by a sequencer program.
MidiDevice.Info sample code for javax.sound.midi.MidiDevice.Info definition code for javax.sound.midi.MidiDevice.Info A MidiDevice.Info object contains assorted data about a MidiDevice sample code for javax.sound.midi.MidiDevice definition code for javax.sound.midi.MidiDevice , including its name, the company who created it, and descriptive text.
MidiEvent sample code for javax.sound.midi.MidiEvent definition code for javax.sound.midi.MidiEvent MIDI events contain a MIDI message and a corresponding time-stamp expressed in ticks, and can represent the MIDI event information stored in a MIDI file or a Sequence sample code for javax.sound.midi.Sequence definition code for javax.sound.midi.Sequence object.
MidiFileFormat sample code for javax.sound.midi.MidiFileFormat definition code for javax.sound.midi.MidiFileFormat A MidiFileFormat object encapsulates a MIDI file's type, as well as its length and timing information.
MidiMessage sample code for javax.sound.midi.MidiMessage definition code for javax.sound.midi.MidiMessage MidiMessage is the base class for MIDI messages.
MidiSystem sample code for javax.sound.midi.MidiSystem definition code for javax.sound.midi.MidiSystem The MidiSystem class provides access to the installed MIDI system resources, including devices such as synthesizers, sequencers, and MIDI input and output ports.
Patch sample code for javax.sound.midi.Patch definition code for javax.sound.midi.Patch A Patch object represents a location, on a MIDI synthesizer, into which a single instrument is stored (loaded).
Sequence sample code for javax.sound.midi.Sequence definition code for javax.sound.midi.Sequence A Sequence is a data structure containing musical information (often an entire song or composition) that can be played back by a Sequencer sample code for javax.sound.midi.Sequencer definition code for javax.sound.midi.Sequencer object.
Sequencer.SyncMode sample code for javax.sound.midi.Sequencer.SyncMode definition code for javax.sound.midi.Sequencer.SyncMode A SyncMode object represents one of the ways in which a MIDI sequencer's notion of time can be synchronized with a master or slave device.
ShortMessage sample code for javax.sound.midi.ShortMessage definition code for javax.sound.midi.ShortMessage A ShortMessage contains a MIDI message that has at most two data bytes following its status byte.
SoundbankResource sample code for javax.sound.midi.SoundbankResource definition code for javax.sound.midi.SoundbankResource A SoundbankResource represents any audio resource stored in a Soundbank sample code for javax.sound.midi.Soundbank definition code for javax.sound.midi.Soundbank .
SysexMessage sample code for javax.sound.midi.SysexMessage definition code for javax.sound.midi.SysexMessage A SysexMessage object represents a MIDI system exclusive message.
Track sample code for javax.sound.midi.Track definition code for javax.sound.midi.Track A MIDI track is an independent stream of MIDI events (time-stamped MIDI data) that can be stored along with other tracks in a standard MIDI file.
VoiceStatus sample code for javax.sound.midi.VoiceStatus definition code for javax.sound.midi.VoiceStatus A VoiceStatus object contains information about the current status of one of the voices produced by a Synthesizer sample code for javax.sound.midi.Synthesizer definition code for javax.sound.midi.Synthesizer .
 

Exception Summary
InvalidMidiDataException sample code for javax.sound.midi.InvalidMidiDataException definition code for javax.sound.midi.InvalidMidiDataException An InvalidMidiDataException indicates that inappropriate MIDI data was encountered.
MidiUnavailableException sample code for javax.sound.midi.MidiUnavailableException definition code for javax.sound.midi.MidiUnavailableException A MidiUnavailableException is thrown when a requested MIDI component cannot be opened or created because it is unavailable.