View Single Post
Old 09-21-2009, 08:50 AM   #113
yerbouti
Human being with feelings
 
yerbouti's Avatar
 
Join Date: Jun 2009
Location: Montréal,QC
Posts: 84
Default

Schwa,

I wrote a few weeks ago concerning a problem with some Audio Units that have Cocoa Gui.(sorry for the delay in response)
The automations are recorded and you can hear them playing back but the GUI doesn't refresh so you won't see your parameters moving.

Seems like some code is missing. Here's what my programmer sent me:

AudioUnitEvent myEvent;
myEvent.mArgument.mParameter.mAudioUnit = mAU;
myEvent.mArgument.mParameter.mParameterID = parameterID;
myEvent.mArgument.mParameter.mScope = kAudioUnitScope_Global;
myEvent.mArgument.mParameter.mElement = 0;
myEvent.mEventType = kAudioUnitEvent_ParameterValueChange;
AUEventListenerNotify(NULL, NULL, &myEvent);

According to him, this should be had each time a parameter is modified.

Hope this will help. Could you had this to next release?
yerbouti is offline   Reply With Quote