public class StandardMidiFileWriter
extends javax.sound.midi.spi.MidiFileWriter
Modifier and Type | Field and Description |
---|---|
static boolean |
CANCEL_RUNNING_STATUS_ON_META_AND_SYSEX
TODO:
|
static boolean |
USE_RUNNING_STATUS
TODO:
|
Constructor and Description |
---|
StandardMidiFileWriter() |
Modifier and Type | Method and Description |
---|---|
int[] |
getMidiFileTypes()
Return supported MIDI file types.
|
int[] |
getMidiFileTypes(javax.sound.midi.Sequence sequence)
Return the supported MIDI file types for a given Sequence.
|
int |
write(javax.sound.midi.Sequence sequence,
int nFileType,
java.io.File file)
Write a Sequence as Standard MIDI File (SMF) to a File.
|
int |
write(javax.sound.midi.Sequence sequence,
int nFileType,
java.io.OutputStream outputStream)
Write a Sequence as Standard MIDI File (SMF) to an OutputStream.
|
public static boolean USE_RUNNING_STATUS
public static boolean CANCEL_RUNNING_STATUS_ON_META_AND_SYSEX
public int[] getMidiFileTypes()
getMidiFileTypes
in class javax.sound.midi.spi.MidiFileWriter
public int[] getMidiFileTypes(javax.sound.midi.Sequence sequence)
getMidiFileTypes
in class javax.sound.midi.spi.MidiFileWriter
public int write(javax.sound.midi.Sequence sequence, int nFileType, java.io.OutputStream outputStream) throws java.io.IOException
write
in class javax.sound.midi.spi.MidiFileWriter
java.io.IOException
public int write(javax.sound.midi.Sequence sequence, int nFileType, java.io.File file) throws java.io.IOException
write
in class javax.sound.midi.spi.MidiFileWriter
java.io.IOException