Re: CoreMIDI question
Re: CoreMIDI question
- Subject: Re: CoreMIDI question
- From: Thomas Hudson <email@hidden>
- Date: Sun, 28 Apr 2002 12:28:44 -0500
The approach I took was to create a virtual destination and accompanying
output port in addition to my virtual source. I send messages to my own
destination (scheduled in the future) to wake up and send messages
out the source.
The down side is that this destination is visible to other apps and could
screw up my timing if they also send clocks to this destination.
My questions:
- can I use this timestamp to more accurately send MIDI messages?
- if so, how? :)
MIDISend is your friend. Just schedule the time stamps to be in the
future.
Note that time stamps are in host time and can be converted to
nanoseconds
with AudioConvertHostTimeToNanos, and converted back with
AudioConvertNanosToHostTime.
_______________________________________________
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.