|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InvalidMidiDataException | |
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. |
Uses of InvalidMidiDataException in javax.sound.midi |
Methods in javax.sound.midi that throw InvalidMidiDataException | |
void |
SysexMessage.setMessage(byte[] data,
int length)
Sets the data for the system exclusive message. |
void |
SysexMessage.setMessage(int status,
byte[] data,
int length)
Sets the data for the system exclusive message. |
void |
Sequencer.setSequence(Sequence sequence)
Sets the current sequence on which the sequencer operates. |
void |
Sequencer.setSequence(InputStream stream)
Sets the current sequence on which the sequencer operates. |
static Soundbank |
MidiSystem.getSoundbank(InputStream stream)
Constructs a MIDI sound bank by reading it from the specified stream. |
static Soundbank |
MidiSystem.getSoundbank(URL url)
Constructs a Soundbank by reading it from the specified URL. |
static Soundbank |
MidiSystem.getSoundbank(File file)
Constructs a Soundbank by reading it from the specified
File . |
static MidiFileFormat |
MidiSystem.getMidiFileFormat(InputStream stream)
Obtains the MIDI file format of the data in the specified input stream. |
static MidiFileFormat |
MidiSystem.getMidiFileFormat(URL url)
Obtains the MIDI file format of the data in the specified URL. |
static MidiFileFormat |
MidiSystem.getMidiFileFormat(File file)
Obtains the MIDI file format of the specified File . |
static Sequence |
MidiSystem.getSequence(InputStream stream)
Obtains a MIDI sequence from the specified input stream. |
static Sequence |
MidiSystem.getSequence(URL url)
Obtains a MIDI sequence from the specified URL. |
static Sequence |
MidiSystem.getSequence(File file)
Obtains a MIDI sequence from the specified File . |
void |
MetaMessage.setMessage(int type,
byte[] data,
int length)
Sets the message parameters for a MetaMessage . |
protected void |
MidiMessage.setMessage(byte[] data,
int length)
Sets the data for the MIDI message. |
void |
ShortMessage.setMessage(int status)
Sets the parameters for a MIDI message that takes no data bytes. |
void |
ShortMessage.setMessage(int status,
int data1,
int data2)
Sets the parameters for a MIDI message that takes one or two data bytes. |
void |
ShortMessage.setMessage(int command,
int channel,
int data1,
int data2)
Sets the short message parameters for a channel message which takes one or two data bytes. |
protected int |
ShortMessage.getDataLength(int status)
Retrieves the number of data bytes associated with a particular status byte value. |
Constructors in javax.sound.midi that throw InvalidMidiDataException | |
Sequence(float divisionType,
int resolution)
Constructs a new MIDI sequence with the specified timing division type and timing resolution. |
|
Sequence(float divisionType,
int resolution,
int numTracks)
Constructs a new MIDI sequence with the specified timing division type, timing resolution, and number of tracks. |
Uses of InvalidMidiDataException in javax.sound.midi.spi |
Methods in javax.sound.midi.spi that throw InvalidMidiDataException | |
abstract Soundbank |
SoundbankReader.getSoundbank(URL url)
Obtains a soundbank object from the URL provided. |
abstract Soundbank |
SoundbankReader.getSoundbank(InputStream stream)
Obtains a soundbank object from the InputStream provided. |
abstract Soundbank |
SoundbankReader.getSoundbank(File file)
Obtains a soundbank object from the File provided. |
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(InputStream stream)
Obtains the MIDI file format of the input stream provided. |
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(URL url)
Obtains the MIDI file format of the URL provided. |
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(File file)
Obtains the MIDI file format of the File provided. |
abstract Sequence |
MidiFileReader.getSequence(InputStream stream)
Obtains a MIDI sequence from the input stream provided. |
abstract Sequence |
MidiFileReader.getSequence(URL url)
Obtains a MIDI sequence from the URL provided. |
abstract Sequence |
MidiFileReader.getSequence(File file)
Obtains a MIDI sequence from the File provided. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.