Re: Raw Midi Time Code
Re: Raw Midi Time Code
- Subject: Re: Raw Midi Time Code
- From: Patrick Gostovic <email@hidden>
- Date: Fri, 27 Feb 2004 10:09:31 -0500
CoreMIDI does not have any tools for decoding MIDI time code, but
luckily it is not that hard to do. Assuming you can setup the plumbing
needed to get at the incoming MIDIPackets, all you need to do is watch
for the following status bytes...
FA - start
FB - continue (start the clock from the last position)
FC - stop
F8 - tick (this happens 24 times per quarter note)
There is also F2, which is "song position pointer". It will be
followed by two data bytes that are combined to give the current song
position in 1/16 notes. I don't think song position pointer is
strictly part of the MIDI Time Code though.
Patrick
On 27-Feb-04, at 8:01 AM, Mark Coniglio wrote:
Hi All,
When using an interface that generates MIDI time code, will the raw
messages be sent to my Read Hook? Or does CoreMIDI eat these messages
and have some other API to get the current time code values. Can
someone point me to any CoreMidi specific references to Midi Time
Code?
Thanks in advance,
Mark Coniglio
--
Read about Troika Ranch in the March Apple Hot News:
http://www.apple.com/hotnews/articles/2003/03/troikaranch/
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater | http://www.troikaranch.org
=====================================================================
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.