libmidi++: add the hitherto unknown and unsupported MIDI "tick" message
See http://midi.teragonaudio.com/tech/midispec/tick.htm
This commit is contained in:
parent
94570e0e1e
commit
95ad72bda6
@ -102,6 +102,7 @@ class LIBMIDIPP_API Parser {
|
|||||||
ZeroByteSignal eox;
|
ZeroByteSignal eox;
|
||||||
|
|
||||||
TimestampedSignal timing;
|
TimestampedSignal timing;
|
||||||
|
TimestampedSignal tick; /* rarely seen in the wild */
|
||||||
TimestampedSignal start;
|
TimestampedSignal start;
|
||||||
TimestampedSignal stop;
|
TimestampedSignal stop;
|
||||||
TimestampedSignal contineu; /* note spelling */
|
TimestampedSignal contineu; /* note spelling */
|
||||||
|
@ -54,6 +54,7 @@ namespace MIDI {
|
|||||||
tune = 0xF6,
|
tune = 0xF6,
|
||||||
eox = 0xF7,
|
eox = 0xF7,
|
||||||
timing = 0xF8,
|
timing = 0xF8,
|
||||||
|
tick = 0xF9,
|
||||||
start = 0xFA,
|
start = 0xFA,
|
||||||
contineu = 0xFB, /* note spelling */
|
contineu = 0xFB, /* note spelling */
|
||||||
stop = 0xFC,
|
stop = 0xFC,
|
||||||
|
@ -551,6 +551,9 @@ Parser::realtime_msg(unsigned char inbyte)
|
|||||||
case 0xf8:
|
case 0xf8:
|
||||||
timing (*this, _timestamp);
|
timing (*this, _timestamp);
|
||||||
break;
|
break;
|
||||||
|
case 0xf9:
|
||||||
|
tick (*this, _timestamp);
|
||||||
|
break;
|
||||||
case 0xfa:
|
case 0xfa:
|
||||||
start (*this, _timestamp);
|
start (*this, _timestamp);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user