• 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: schedule AU parameters with a mTimeStamp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: schedule AU parameters with a mTimeStamp?


  • Subject: Re: schedule AU parameters with a mTimeStamp?
  • From: William Stewart <email@hidden>
  • Date: Fri, 7 Apr 2006 11:53:07 -0700


On 07/04/2006, at 11:38 AM, Brian Whitman wrote:

AudioUnitScheduleParameters only seems to let me schedule things within the current buffer/render, not in a far away time.

Yes - quite deliberately - we don't expect AU to maintain a schedule beyond its next render operation.

I can schedule the ScheduledSoundPlayer AU well beyond its next render...

Your question was about the general scheduling of parameters to AU, not about the features of an AU specifically designed to schedule events.



Was just wondering if there was a concordant mechanism for scheduling parameters of other AUs. It seems the answer is no?

As I said :-)

I can obviously do this in other means but it'd be a nice solution to do it along with scheduling the slices.

In fact, we provide an API to do this - <AudioToolbox/MusicPlayer.h>

In the SDK there are examples that utilise these API - PlaySequence. This example reads in and constructs a MusicSequence from a MIDI File. Of course, with this kind of source (MIDI File), the events constructed are MIDI events; however this is not the only thing a sequence can deal with. You can explicitly have Parameter events (including ramped parameters), and target different tracks of a sequence to different nodes (AU) of a graph. You can also define and schedule your own events using the user event type and callback.

Bill



-Brian



_______________________________________________
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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


  • Follow-Ups:
    • Re: schedule AU parameters with a mTimeStamp?
      • From: Brian Whitman <email@hidden>
    • Re: schedule AU parameters with a mTimeStamp?
      • From: Brian Whitman <email@hidden>
References: 
 >schedule AU parameters with a mTimeStamp? (From: Brian Whitman <email@hidden>)
 >Re: schedule AU parameters with a mTimeStamp? (From: William Stewart <email@hidden>)
 >Re: schedule AU parameters with a mTimeStamp? (From: Brian Whitman <email@hidden>)

  • Prev by Date: Re: schedule AU parameters with a mTimeStamp?
  • Next by Date: Re: directing audio to different channels on a device
  • Previous by thread: Re: schedule AU parameters with a mTimeStamp?
  • Next by thread: Re: schedule AU parameters with a mTimeStamp?
  • Index(es):
    • Date
    • Thread