Re: AudioUnit as parameter listener?
Re: AudioUnit as parameter listener?
- Subject: Re: AudioUnit as parameter listener?
- From: Howard Moon <email@hidden>
- Date: Tue, 22 Feb 2011 08:49:31 -0800
Never mind...I've got it working now.
I've made my Kernel object a listener to the parameter changes. That allows me to set the appropriate values in my existing DSP object (which is also used in VST and RTAS) whenever the user changes them. This method seems to be working fine, without writing a list of GetParameter calls in my Process function.
-Howard
On Feb 18, 2011, at 2:58 PM, Howard Moon wrote:
>
> On Feb 18, 2011, at 2:05 PM, Howard Moon wrote:
>
>> I notice that in the template generated for a new Audio Unit effect, the parameter values are obtained in the Render method via GetParameter().
>>
>
> Ooops: I mean the Process() method (of the Kernel).
>
>> Is this the normal way of handling parameter changes?
>>
>> My current plug-in modifies the DSP's parameters whenever the user makes a change to a control. (My Audio Unit version is a VST plug-in wrapped in the VST2AU software, so it's the same as the VST in that respect.)
>>
>> What I'm wondering is, is calling GetParameter() for every parameter the normal way of handling parameter changes, even in plug-ins with more controls? Or, is there a function I can override or a message I can trap when the parameter is changed via a call to AUParameterSet() by the view? Or, should I set up a listener for the parameter change, the way I did in the view?
>>
>> Thanks,
>> Howard
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
_______________________________________________
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