Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notifying host of parameter change



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:
http://lists.apple.com/mailman/options/coreaudio-api/sgretscher% 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: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Notifying host of parameter change (From: "Carlo Chiari" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.