• 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
AU MIDI out: from relative time to absolute time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU MIDI out: from relative time to absolute time


  • Subject: AU MIDI out: from relative time to absolute time
  • From: philippe wicker <email@hidden>
  • Date: Tue, 18 Oct 2011 23:26:57 +0200

Hi all,

To record the MIDI which is generated within an AU I use the MIDISend API. MIDISend needs a packet list containing packets time stamped with an absolute host time. As far as I know there's  no absolute time passed to the AU in the AudioTimeStamp. What I do for now is to get the absolute time in the first render following the beginning of the record and uses this time as a start time. But then this reference time depends on the time when my render is called by the host and this time may vary according to the position of my plugin in the host graph (or whatever Logic uses to sequence the calls to the AUs render) and the load incurred by the preceding AUs.

So is there a way to get the absolute time when the host is starting to process the graph?

Thanks,

Philippe

 _______________________________________________
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

  • Prev by Date: CoreMIDI with Sandboxing
  • Next by Date: Re: CoreMIDI with Sandboxing
  • Previous by thread: Re: CoreMIDI with Sandboxing
  • Next by thread: any hints on hosting a MusicDevice AU ?
  • Index(es):
    • Date
    • Thread