Uses of Class javax.sound.midi.InvalidMidiDataException

Uses in package javax.sound.midi

Constructors which throw type javax.sound.midi.InvalidMidiDataException

Sequence.Sequence(float divisionType, int resolution)
Create a MIDI sequence object with no initial tracks.
Sequence.Sequence(float divisionType, int resolution, int numTracks)
Create a MIDI seqence object.

Methods which throw type javax.sound.midi.InvalidMidiDataException

int
Return the number of data bytes needed for a given MIDI status byte.
MidiFileFormat
Read a MidiFileFormat object from the given file.
MidiFileFormat
Read a MidiFileFormat object from the given stream.
MidiFileFormat
Read a MidiFileFormat object from the given url.
Sequence
Read a Sequence object from the given file.
Sequence
Read a Sequence object from the given stream.
Sequence
Read a Sequence object from the given url.
Soundbank
Read a Soundbank object from the given file.
Soundbank
Read a Soundbank object from the given stream.
Soundbank
Read a Soundbank object from the given url.
void
MidiMessage.setMessage(byte[] data, int length)
Set the complete MIDI message.
void
SysexMessage.setMessage(byte[] data, int length)
Set the sysex message.
void
Set the MIDI message to one that requires no data bytes.
void
MetaMessage.setMessage(int type, byte[] data, int length)
Set the meta message.
void
SysexMessage.setMessage(int status, byte[] data, int length)
Set the sysex message. status must be either 0xF0 or 0xF7.
void
ShortMessage.setMessage(int status, int data1, int data2)
Set the MIDI message.
void
ShortMessage.setMessage(int command, int channel, int data1, int data2)
void
Set the sequence for this sequencer. istream reads on a valid MIDI file.
void
Set the Sequence object for this sequencer.

Uses in package javax.sound.midi.spi

Methods which throw type javax.sound.midi.InvalidMidiDataException

MidiFileFormat
Read a MidiFileFormat from the given stream.
MidiFileFormat
Read a MidiFileFormat from the given stream.
MidiFileFormat
Read a MidiFileFormat from the given stream.
Sequence
Read a Sequence from the given stream.
Sequence
Read a Sequence from the given stream.
Sequence
Read a Sequence from the given stream.
Soundbank
Get a Soundbank from the given File.
Soundbank
Get a Soundbank from the given InputStream.
Soundbank
Get a Soundbank from the given URL.