public interface EventParser
EventParser handles the interfacing between this program and music files.
It reads note-events from a file with run().
One EventParser is required per song you wish to parse.
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.List<MidiNote>> |
getGoldStandardVoices()
Get a List of the gold standard voices from this song.
|
void |
run()
Parses the events from the loaded music file.
|
void run()
throws javax.sound.midi.InvalidMidiDataException,
java.io.IOException
javax.sound.midi.InvalidMidiDataException - If a note off event doesn't match any previously seen note on.java.io.IOException - If an I/O error occurred while reading the file.java.util.List<java.util.List<MidiNote>> getGoldStandardVoices()