Uses of Package
javax.sound.midi
| 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.
|
-
Classes in javax.sound.midi used by javax.sound.midi Class Description ControllerEventListener TheControllerEventListenerinterface should be implemented by classes whose instances need to be notified when aSequencerhas processed a requested type of MIDI control-change event.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.InvalidMidiDataException AnInvalidMidiDataExceptionindicates that inappropriate MIDI data was encountered.MetaEventListener TheMetaEventListenerinterface should be implemented by classes whose instances need to be notified when aSequencerhas processed aMetaMessage.MetaMessage AMetaMessageis aMidiMessagethat is not meaningful to synthesizers, but that can be stored in a MIDI file and interpreted by a sequencer program.MidiChannel AMidiChannelobject represents a single MIDI channel.MidiDevice MidiDeviceis the base interface for all MIDI devices.MidiDevice.Info AMidiDevice.Infoobject contains assorted data about aMidiDevice, including its name, the company who created it, and descriptive text.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 aSequenceobject.MidiFileFormat AMidiFileFormatobject encapsulates a MIDI file's type, as well as its length and timing information.MidiMessage MidiMessageis the base class for MIDI messages.MidiUnavailableException AMidiUnavailableExceptionis thrown when a requested MIDI component cannot be opened or created because it is unavailable.Patch APatchobject represents a location, on a MIDI synthesizer, into which a single instrument is stored (loaded).Receiver AReceiverreceivesMidiEventobjects and typically does something useful in response, such as interpreting them to generate sound or raw MIDI output.Sequence ASequenceis a data structure containing musical information (often an entire song or composition) that can be played back by aSequencerobject.Sequencer A hardware or software device that plays back a MIDIsequenceis known as a sequencer.Sequencer.SyncMode ASyncModeobject represents one of the ways in which a MIDI sequencer's notion of time can be synchronized with a master or slave device.ShortMessage AShortMessagecontains a MIDI message that has at most two data bytes following its status byte.Soundbank ASoundbankcontains a set ofInstrumentsthat can be loaded into aSynthesizer.SoundbankResource ASoundbankResourcerepresents any audio resource stored in aSoundbank.Synthesizer ASynthesizergenerates sound.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.Transmitter VoiceStatus AVoiceStatusobject contains information about the current status of one of the voices produced by aSynthesizer. -
Classes in javax.sound.midi used by javax.sound.midi.spi Class Description InvalidMidiDataException AnInvalidMidiDataExceptionindicates that inappropriate MIDI data was encountered.MidiDevice MidiDeviceis the base interface for all MIDI devices.MidiDevice.Info AMidiDevice.Infoobject contains assorted data about aMidiDevice, including its name, the company who created it, and descriptive text.MidiFileFormat AMidiFileFormatobject encapsulates a MIDI file's type, as well as its length and timing information.Sequence ASequenceis a data structure containing musical information (often an entire song or composition) that can be played back by aSequencerobject.Soundbank ASoundbankcontains a set ofInstrumentsthat can be loaded into aSynthesizer.