Re: Automation / logic
Re: Automation / logic
- Subject: Re: Automation / logic
- From: Stefan Gretscher <email@hidden>
- Date: Fri, 15 Sep 2006 19:12:29 +0200
Hi Michael,
am I right to assume that you're on Intel with this?
On Intel, Logic uses the new AudioUnitEvent API to track changes in
the AUs, see http://developer.apple.com/technotes/tn2002/tn2104.html
Your code snippet relies on the "old-style"
kAudioUnitCarbonViewEvent_MouseDownInControl to notify Logic of the
start of a parameter change, if you fire a "new-style"
kAudioUnitEvent_BeginParameterChangeGesture instead Logic's
automation should work just fine.
If this doesn't solve the issue, please contact our Logic-specific AU
developer support: email@hidden
Best,
Stefan
Am 15.09.2006 um 16:05 schrieb john smith:
Hi,
we have some code which works with Logic 7.1 (and below), but for
some reason fails with Logic 7.2. Maybe someone can give us a
clue...???
It's related to automation, more specifically what happens when a
control is updated, and the change is send to the host.
Simply put, Logic does not react to the parameter changes any
longer, however it's not quite this simple, because if I toggle the
red arm button ("r"), the vertical meter-like control changes to
the proper value, although the horizontal automation line seems to
be unchanged.
Following is our code, but for simplicity I'll assume only one
change, so mousedown and mouseup can be included:
Assumptions:
mAU: Holds AU
iIndex: Holds parameter index
fValue: New value of parameter
AudioUnitParameter Parm = {
mAU,
AudioUnitParameterID(iIndex),
kAudioUnitScope_Global,
0
};
TellListener((CAAUParameter&)(Parm),
kAudioUnitCarbonViewEvent_MouseDownInControl, NULL);
AUParameterSet(NULL, NULL, &Parm, fValue, 0);
TellListener((CAAUParameter&)(Parm),
kAudioUnitCarbonViewEvent_MouseUpInControl, NULL);
Also, since this works with Logic 7.1, but not 7.2, is there a
reference host available, to check such things with?
Thanks,
Michael Olsen
KeyToSound
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
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