• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MIDI message timestamps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI message timestamps


  • Subject: Re: MIDI message timestamps
  • From: Doug Wyatt <email@hidden>
  • Date: Thu, 11 Nov 2004 09:01:08 -0800

On Nov 10, 2004, at 22:54, Kurt Revis wrote:
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...

Actually, this has been changed on top-of-tree, so I wouldn't bet against the change making it out into the world before long ;-)


Doug

_______________________________________________
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


References: 
 >MIDI message timestamps (From: Chadwick Wood <email@hidden>)
 >Re: MIDI message timestamps (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: CoreAudio Level Of Death
  • Next by Date: Multiple play
  • Previous by thread: Re: MIDI message timestamps
  • Next by thread: Variable Input/Ouput size
  • Index(es):
    • Date
    • Thread