Package com.softsynth.midifile
Class MIDIFileMetaEvent
java.lang.Object
com.softsynth.midifile.MIDIFileEvent
com.softsynth.midifile.MIDIFileSysExEvent
com.softsynth.midifile.MIDIFileMetaEvent
- All Implemented Interfaces:
- java.lang.Cloneable
public class MIDIFileMetaEvent extends MIDIFileSysExEvent
MIDI File Meta Event
- Author:
- Phil Burk (C) 1999 SoftSynth.com
- 
Field SummaryFields Modifier and Type Field Description inttypeFields inherited from class com.softsynth.midifile.MIDIFileSysExEventbytesFields inherited from class com.softsynth.midifile.MIDIFileEventcommand, data1, data2
- 
Constructor SummaryConstructors Constructor Description MIDIFileMetaEvent(int ticks, int type, byte[] b)Create storage for a MetaEvent
- 
Method SummaryModifier and Type Method Description java.lang.StringtoString()voidwrite(MIDIFileOutput mfout)Write event to a MIDIFile on disk.Methods inherited from class com.softsynth.midifile.MIDIFileSysExEventgetBytesMethods inherited from class com.softsynth.midifile.MIDIFileEventclone, getChannel, getCommand, getSeconds, getTicks, setSeconds, setTicksMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Field Details- 
typepublic int type
 
- 
- 
Constructor Details- 
MIDIFileMetaEventpublic MIDIFileMetaEvent(int ticks, int type, byte[] b)Create storage for a MetaEvent- Parameters:
- ticks- MIDIFile time-stamp
- command- SysEx = F0, or F7, or MetaEvent = FF
- type- MetaEvent type, from 0 to 127.
- b- bytes read from file for SysEx. May be null.
 
 
- 
- 
Method Details- 
writeWrite event to a MIDIFile on disk.- Overrides:
- writein class- MIDIFileSysExEvent
- Throws:
- java.io.IOException
 
- 
toStringpublic java.lang.String toString()- Overrides:
- toStringin class- MIDIFileSysExEvent
 
 
-