RE: Automation / logic
RE: Automation / logic
- Subject: RE: Automation / logic
- From: "john smith" <email@hidden>
- Date: Fri, 22 Sep 2006 11:44:55 +0200
Sorry about that mail, please ignore it:
From: "john smith" <email@hidden>
To: email@hidden
Subject: Automation / logic
Date: Fri, 22 Sep 2006 11:42:37 +0200
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:
This email sent to email@hidden
_________________________________________________________________
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:
This email sent to email@hidden