Re: Cocoa AU template, AUParameterSet and Logic automation
Re: Cocoa AU template, AUParameterSet and Logic automation
- Subject: Re: Cocoa AU template, AUParameterSet and Logic automation
- From: "Stephan M. Bernsee" <email@hidden>
- Date: Tue, 8 Jan 2008 13:48:55 +0100
Ok, I'm responding to my own question, just in case someone else runs
into this:
In order to make Logic see automation events you also need to send
kAudioUnitEvent_BeginParameterChangeGesture /
kAudioUnitEvent_EndParameterChangeGesture events through
AUEventListenerNotify(). This isn't really obvious as the
documentation sounds like these two were optional, but it looks like
you definitely need to use them in order to make Logic see your
automation data!
Regards,
Stephan Bernsee
Am 08.01.2008 um 10:59 schrieb Stephan M. Bernsee:
Hi all,
I am having a strange problem with one of Apple's AudioUnits
template projects. I managed to compile the Cocoa AU template and it
works just fine, with one exception - automation in Logic 8 / 10.5.1
doesn't work in write, latch or touch mode. I can draw automation
curves just fine and they control the plug in as expected (and in
AULab I can get it to react to parameter changes from a second
instance and/or the generic view), but recording automation data
just doesn't work when the Cocoa user interface is used to set the
parameters in Logic.
The code looks ok to me, the slider correctly calls AUParameterSet
when I move it, however, the automation data seem to get lost
somewhere. I had a look at the FilterDemo example which works fine
in this regard but couldn't see anything that would make a difference.
Any hints, pointers or pitfalls that I should be aware of?
The code for the test project is here:
http://stephan.bernsee.com/TestAutomation.zip
It's the single slider gain demo project without any change. Any
insight would be appreciated.
Thanks
Stephan Bernsee
_______________________________________________
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