• 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: Notifying host of parameter change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Notifying host of parameter change (From: "Carlo Chiari" <email@hidden>)

  • Prev by Date: Notifying host of parameter change
  • Next by Date: Setting a custom/nongeneric AU property using AudioUnitSetProperty()
  • Previous by thread: Notifying host of parameter change
  • Next by thread: Setting a custom/nongeneric AU property using AudioUnitSetProperty()
  • Index(es):
    • Date
    • Thread