Re: Notifying host of parameter change
Re: Notifying host of parameter change
- Subject: Re: Notifying host of parameter change
- From: Stefan Gretscher <email@hidden>
- Date: Wed, 22 Nov 2006 11:21:58 +0100
Hi Carlo,
your AU needs to notify the host about the parameter changes in order
for them to be recorded as automation data -
please check this tech note about AudioUnitEvent API: http://
developer.apple.com/technotes/tn2002/tn2104.html
For proper automation support, you not only signal the changes of the
parameters to the host, but also signal when
the user has grabbed or released some control with the mouse. This is
important for touch automation where existing
automation curves can be erased by grabbing and holding the parameter
at the desired position.
Best,
Stefan
Am 22.11.2006 um 10:18 schrieb Carlo Chiari:
Hi to all,
I'm working on an AU wrapper project.
When my example plug EditView change a parameter value, this
function is called:
//
======================================================================
========
void myAU::informHostOfParameterChange (int index, float newValue)
{
if (myFilter != 0)
{
myFilter->setParameter (index, newValue);
AUEffectBase::SetParameter ((UInt32) index, (Float32)
newValue);
}
}
but the host does not record the parameter automation on the timeline.
On the other side , drawing a parameter automation in the track my
plug is able to update its internal state.
Any help would be appreciated
best regards
Carlo Chiari
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
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