|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.columbia.ee.csmit.MidiKaraoke.MidiMessage.MidiCommandParser
public class MidiCommandParser
Parses a generic midi command. Does not attempt to interpret the command message.
MidiCommand| Nested Class Summary | |
|---|---|
static class |
MidiCommandParser.Command
|
| Constructor Summary | |
|---|---|
MidiCommandParser()
|
|
| Method Summary | |
|---|---|
MidiCommand |
parse(javax.sound.midi.MidiMessage mm)
If this parser recognizes mm, it should return a parsed midi message. |
protected static java.lang.String |
parseString(byte[] message,
int offset)
Returns a string extracted from a raw midi message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidiCommandParser()
| Method Detail |
|---|
public MidiCommand parse(javax.sound.midi.MidiMessage mm)
RawMidiMessageParser.Parser
parse in interface RawMidiMessageParser.Parsermm - the message to parse
protected static java.lang.String parseString(byte[] message,
int offset)
message - the raw messageoffset - the index of the string length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||