| Package | Description |
|---|---|
| javax.sound.midi | |
| javax.sound.midi.spi |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
Sequencer.getSequence()
Obtains the sequence on which the Sequencer is currently operating.
|
static Sequence |
MidiSystem.getSequence(File file)
Obtains a MIDI sequence from 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.
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
MidiSystem.getMidiFileTypes(Sequence sequence)
Obtains the set of MIDI file types that the system can write from the
sequence specified.
|
static boolean |
MidiSystem.isFileTypeSupported(int fileType,
Sequence sequence)
Indicates whether a MIDI file of the file type specified can be written
from the sequence indicated.
|
void |
Sequencer.setSequence(Sequence sequence)
Sets the current sequence on which the sequencer operates.
|
static int |
MidiSystem.write(Sequence in,
int type,
File out)
Writes a stream of bytes representing a file of the MIDI file type
indicated to the external file provided.
|
static int |
MidiSystem.write(Sequence in,
int fileType,
OutputStream out)
Writes a stream of bytes representing a file of the MIDI file type
indicated to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Sequence |
MidiFileReader.getSequence(File file)
Obtains a MIDI sequence from 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.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int[] |
MidiFileWriter.getMidiFileTypes(Sequence sequence)
Obtains the file types that this file writer can write from the sequence
specified.
|
boolean |
MidiFileWriter.isFileTypeSupported(int fileType,
Sequence sequence)
Indicates whether a MIDI file of the file type specified can be written
from the sequence indicated.
|
abstract int |
MidiFileWriter.write(Sequence in,
int fileType,
File out)
Writes a stream of bytes representing a MIDI file of the file type
indicated to the external file provided.
|
abstract int |
MidiFileWriter.write(Sequence in,
int fileType,
OutputStream out)
Writes a stream of bytes representing a MIDI file of the file type
indicated to the output stream provided.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.