Fwd: Re: intra buffering scheduling of parameter value changes
Fwd: Re: intra buffering scheduling of parameter value changes
- Subject: Fwd: Re: intra buffering scheduling of parameter value changes
- From: Chris Rogers <email@hidden>
- Date: Thu, 23 Jan 2003 13:04:29 -0800
>
>Hi,
>
>
>
>how exactly does this new "intra buffering scheduling of parameter
>
>value changes" that replaces the deprecated "ramping" feature work?
>
>
>
Urs,
>
>
The scheduled parameter API (AudioUnitScheduleParameters() ) has not been
>
changed since Jaguar. We did deprecate the "RampUpTime" property, but
>
this is completely unrelated to the scheduled events/ramps.
>
>
>
>
>I mean, is there any type of "curve" or a buffer with sample
>
>accurate values? Or do you subdivide the number of frames to
>
>render? Wouldn't it be best to schedule changes the way MIDI comes
>
>in with a TimeStamp?
>
>
>
>If I don't like it because of my own parameter smoothing, can I
>
>turn it off? :-))
>
>
>
>Chris?
>
>
>
>
>
>Cheers,
>
>
>
;) Urs
>
>
Take a look at AudioUnitScheduleParameters() and you'll see it allows the
>
AudioUnit host to specify a list of time-stamped (by sample frame offset)
>
immediate or ramped parameter events.
>
>
An AudioUnit developer such as yourself may decide on a case-by-case
>
basis which parameters support such a precise scheduling
>
and should set the kAudioUnitParameterFlag_CanRamp flag (in
>
AudioUnitProperties.h)
>
appropriately. In many cases, the developer may decide that no parameters
>
need be precisely scheduled and instead rely on his own internal smoothing
>
algorithms to avoid glitches. Unless the AudioUnit developer does extra
>
work, none of the AudioUnit's parameters will support scheduling/ramping.
>
>
If anybody believes they have parameters which would benefit from
>
intra-buffer scheduling, then I'll be happy to post more information
>
on how to use the SDK to do this...
>
>
Chris Rogers
>
Core Audio
>
Apple Computer
_______________________________________________
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.