|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.midifile.MIDIFileEvent com.softsynth.midifile.MIDIFileSysExEvent com.softsynth.midifile.MIDIFileMetaEvent
public class MIDIFileMetaEvent
MIDI File Meta Event
Field Summary | |
---|---|
int |
type
|
Fields inherited from class com.softsynth.midifile.MIDIFileSysExEvent |
---|
bytes |
Fields inherited from class com.softsynth.midifile.MIDIFileEvent |
---|
command, data1, data2 |
Constructor Summary | |
---|---|
MIDIFileMetaEvent(int ticks,
int type,
byte[] b)
Create storage for a MetaEvent |
Method Summary | |
---|---|
java.lang.String |
toString()
|
void |
write(MIDIFileOutput mfout)
Write event to a MIDIFile on disk. |
Methods inherited from class com.softsynth.midifile.MIDIFileSysExEvent |
---|
getBytes |
Methods inherited from class com.softsynth.midifile.MIDIFileEvent |
---|
clone, getChannel, getCommand, getSeconds, getTicks, setSeconds, setTicks |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int type
Constructor Detail |
---|
public MIDIFileMetaEvent(int ticks, int type, byte[] b)
ticks
- MIDIFile time-stampcommand
- SysEx = F0, or F7, or MetaEvent = FFtype
- MetaEvent type, from 0 to 127.b
- bytes read from file for SysEx. May be null.Method Detail |
---|
public void write(MIDIFileOutput mfout) throws java.io.IOException
write
in class MIDIFileSysExEvent
java.io.IOException
public java.lang.String toString()
toString
in class MIDIFileSysExEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |