• 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
Re: AU&Logic:Notify Parameter change to Logic Control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU&Logic:Notify Parameter change to Logic Control


  • Subject: Re: AU&Logic:Notify Parameter change to Logic Control
  • From: Urs Heckmann <email@hidden>
  • Date: Mon, 18 Aug 2003 13:36:25 +0200

Hi,

look at AudioToolbox/AudioUnitUtilities.h. - Wouldn't AUParameterSet() just do the trick? It does it here... (seems to automatically call AUParameterListenerNotify as well....)

If you have parameters that can change other parameters, don't forget to set the kAudioUnitParameterFlag_IsGlobalMeta flag (or was it kAudioUnitParameterFlag_IsElementMeta?) in your ParameterInfo. Dunno if it does any difference as of today.

Furtherly, if you do changes from a custom user interface, also send notification for mouse up/down if it is common to have both values changed. To be more precise, use AUCarbonViewBase::TellListener() with kAudioUnitCarbonViewEvent_MouseDownInControl for the second parameter whenever that one starts to change, and send kAudioUnitCarbonViewEvent_MouseUpInControl at the end of the mouse gesture. That way, any automation of the second parameter will stay untouched unless the first parameter starts changing it.

However, if the users edits some automation in Logic, your logic will be screwed up 8-)

Hope this is the correct answer...

Cheers,

;) Urs



Am Montag, 18.08.03, um 12:40 Uhr (Europe/Berlin) schrieb yoshida:

Hi.

My AU has Parameter A and Parameter B.
My AU needs A < B, so changing Parameter A's value causes Parameter B's
value change.
ex:
if Parameter B was set to 5, parameter A -> 4


In this case, how can I notify parameter B's change to Logic and
force moving remote controler's (like logic control) slider
assigned to Parameter B?

TIA.
--
-----------------------------------------
English is not my native language,
so I'm not good at English, sorry :-(
M.Yoshida @ Japan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: AU&Logic:Notify Parameter change to Logic Control
      • From: yoshida <email@hidden>
    • Re: AU&Logic:Notify Parameter change to Logic Control
      • From: Bill Stewart <email@hidden>
References: 
 >AU&Logic:Notify Parameter change to Logic Control (From: yoshida <email@hidden>)

  • Prev by Date: AU&Logic:Notify Parameter change to Logic Control
  • Next by Date: Re: private parameters & scope/element
  • Previous by thread: AU&Logic:Notify Parameter change to Logic Control
  • Next by thread: Re: AU&Logic:Notify Parameter change to Logic Control
  • Index(es):
    • Date
    • Thread