display MIDI qtr msgs in the MIDI tracer window
This commit is contained in:
parent
dfe383d23a
commit
ef3c4a17fc
@ -344,6 +344,10 @@ MidiTracer::tracer (Parser&, byte* msg, size_t len, samplecnt_t now)
|
|||||||
/* MIDI Song Position */
|
/* MIDI Song Position */
|
||||||
int midi_beats = (msg[2] << 7) | msg[1];
|
int midi_beats = (msg[2] << 7) | msg[1];
|
||||||
s += snprintf (&buf[s], bufsize, "%16s %d\n", "Position", (int) midi_beats);
|
s += snprintf (&buf[s], bufsize, "%16s %d\n", "Position", (int) midi_beats);
|
||||||
|
} else if (len == 2 && msg[0] == MIDI::mtc_quarter) {
|
||||||
|
|
||||||
|
s += snprintf (&buf[s], bufsize, "%16s %02x\n", "MTC Quarter", msg[1]);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
/* other sys-ex */
|
/* other sys-ex */
|
||||||
|
Loading…
Reference in New Issue
Block a user