|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uiuc.cs397rhc.util.PrintEventList
Simple app that prints out all the events in a midi file, in order.
| Constructor Summary | |
|---|---|
PrintEventList()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Prints out all MIDI events in a given MIDI file. |
static void |
printEvent(javax.sound.midi.MidiEvent event)
Prints a MIDI event in a nice format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintEventList()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - the first element contains the name of the file to examinepublic static void printEvent(javax.sound.midi.MidiEvent event)
ShortMessage, the
tick, command name, channel, and two data are printed. For other
events, just the tick and message are printed.
event - the event to print out
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||