• 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
Automation / logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automation / logic


  • Subject: Automation / logic
  • From: "john smith" <email@hidden>
  • Date: Fri, 15 Sep 2006 16:05:05 +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


  • Follow-Ups:
    • Re: Automation / logic
      • From: Stefan Gretscher <email@hidden>
References: 
 >Re: migration from soundconverter (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Setting Input Sample Format and Rate
  • Next by Date: Re: Automation / logic
  • Previous by thread: Re: migration from soundconverter
  • Next by thread: Re: Automation / logic
  • Index(es):
    • Date
    • Thread