Re: MIDI message timestamps
Re: MIDI message timestamps
- Subject: Re: MIDI message timestamps
- From: Kurt Revis <email@hidden>
- Date: Wed, 10 Nov 2004 22:54:08 -0800
On Nov 10, 2004, at 6:53 PM, Chadwick Wood wrote:
I'm trying to build a simple sequencer that will open a virtual MIDI
source and send messages. I've gotten this to work somewhat, but I
can't get the timestamps right.
Your timestamp code looks fine. I bet your problem is this: CoreMIDI
doesn't schedule MIDI that you give to a virtual source by calling
MIDIReceived(). It just sends it immediately, so it's up to you to do
your own timing. If you use MIDISend() to send the packet list to a
destination, either a real one or a virtual one, it will get scheduled
and sent at the appropriate time.
This is a pretty long-standing limitation, and I wouldn't bet on it
being changed anytime soon. If you search google or the mailing list
archives, you'll see that this issue has come up a few times...
--
Kurt Revis
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden