Example usage for Java javax.sound.midi MidiSystem fields, constructors, methods, implement or subclass
The text is from its open source code.
MidiDevice | getMidiDevice(final MidiDevice.Info info) Obtains the requested MIDI device. |
MidiDevice.Info[] | getMidiDeviceInfo() Obtains an array of information objects representing the set of all MIDI devices available on the system. |
MidiFileFormat | getMidiFileFormat(final InputStream stream) Obtains the MIDI file format of the data in the specified input stream. |
MidiFileFormat | getMidiFileFormat(final URL url) Obtains the MIDI file format of the data in the specified URL. |
MidiFileFormat | getMidiFileFormat(final File file) Obtains the MIDI file format of the specified File . |
int[] | getMidiFileTypes(final Sequence sequence) Obtains the set of MIDI file types that the system can write from the sequence specified. |
Sequence | getSequence(final InputStream stream) Obtains a MIDI sequence from the specified input stream. |
Sequence | getSequence(final URL url) Obtains a MIDI sequence from the specified URL. |
Sequence | getSequence(final File file) Obtains a MIDI sequence from the specified File . |
Sequencer | getSequencer() Obtains the default Sequencer , connected to a default device. |
Soundbank | getSoundbank(final InputStream stream) Constructs a MIDI sound bank by reading it from the specified stream. |
Soundbank | getSoundbank(final URL url) Constructs a Soundbank by reading it from the specified URL. |
Soundbank | getSoundbank(final File file) Constructs a Soundbank by reading it from the specified File . |
Synthesizer | getSynthesizer() Obtains the default synthesizer. |
int | write(final Sequence in, final int fileType, final OutputStream out) Writes a stream of bytes representing a file of the MIDI file type indicated to the output stream provided. |
int | write(final Sequence in, final int type, final File out) Writes a stream of bytes representing a file of the MIDI file type indicated to the external file provided. |