• 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: How to Notify parameters changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Notify parameters changes


  • Subject: Re: How to Notify parameters changes
  • From: Marc Poirier <email@hidden>
  • Date: Thu, 10 Apr 2003 23:30:26 +0200 (CEST)

You need to mark the beginning and ends of parameter change gestures using
AudioUnitCarbonViewEventListener with
kAudioUnitCarbonViewEvent_MouseDownInControl and
kAudioUnitCarbonViewEvent_MouseUpInControl

See AUCarbonViewBase and AUCarbonViewControl in the SDK for example
implementations.

Marc



On Thu, 10 Apr 2003, Shai Shasag wrote:

> Hi,
>
> I'm implementing automation for my plugin that has custom view component.
> Playback of automation is fine but I could not record any parameter
> changes under Logic 6.
>
> When the user changes a value (by moving a slider for example) I
> call this function:
>
> void CWSAU::SetParameterInternal (long lParamID, long lParamVal)
> {
> AUEffectBase::SetParameter(lParamID, lParamVal); // update the value
> in the global scope / element 0
>
> const AudioUnitParameter inParameter = {GetComponentInstance(),
> lParamID, kAudioUnitScope_Global, 0};
> OSStatus cErr = ::AUParameterListenerNotify(nil, nil, &inParameter);
> // notify outside world
> }
>
> This however, does not seem to work as Logic does not record the
> change (in touch or write mode)
>
> Using AUParameterSet instead of AUParameterListenerNotify did not help.
>
> Recording of automation does work when using the "controls" mode
> instead of "editor" mode.
>
> Thanks,
>
> Shai Shasag
> Waves
> _______________________________________________
> 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.

References: 
 >How to Notify parameters changes (From: Shai Shasag <email@hidden>)

  • Prev by Date: CoreAudio 10.2.5
  • Next by Date: Re: CoreAudio 10.2.5
  • Previous by thread: How to Notify parameters changes
  • Next by thread: Re: How to Notify parameters changes
  • Index(es):
    • Date
    • Thread