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

How to Notify parameters changes


  • Subject: How to Notify parameters changes
  • From: Shai Shasag <email@hidden>
  • Date: Thu, 10 Apr 2003 23:45:14 +0300

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.

  • Follow-Ups:
    • Re: How to Notify parameters changes
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: Getting the Source Names
  • Next by Date: CoreAudio 10.2.5
  • Previous by thread: Re:Getting the Source Names
  • Next by thread: Re: How to Notify parameters changes
  • Index(es):
    • Date
    • Thread