• 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
Variable number of parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Variable number of parameters


  • Subject: Variable number of parameters
  • From: Antoine Missout <email@hidden>
  • Date: Wed, 13 Jul 2005 09:24:14 -0400

Since the subject of host problems/capabilities is on the table:

With the latest version of my software, I included an AU plugin allowing for in host effect/instrument design. When a parameter is added or removed, this is executed (this doesn't get called currently if the change is only to a min or max value, but that will be fixed soon, just add/remove a dummy parameter to force the events to be sent):

    // make the host rebuild the parameter list
    AudioUnitEvent myEvent;
    myEvent.mArgument.mProperty.mAudioUnit = GetComponentInstance();
    myEvent.mArgument.mProperty.mScope = kAudioUnitScope_Global;
    myEvent.mArgument.mProperty.mElement = 0;
    myEvent.mEventType = kAudioUnitEvent_PropertyChange;

myEvent.mArgument.mProperty.mPropertyID = kAudioUnitProperty_ParameterList;
AUEventListenerNotify(NULL, NULL, &myEvent);


myEvent.mArgument.mProperty.mPropertyID = kAudioUnitProperty_ParameterInfo;
AUEventListenerNotify(NULL, NULL, &myEvent);


myEvent.mArgument.mProperty.mPropertyID = kAudioUnitProperty_ParameterValueStrings;
AUEventListenerNotify(NULL, NULL, &myEvent);



However, Logic doesn't take notice of this. In AULab the new parameters are added and removed but their min/max are not updated.


I know this is very a rare behaviour, but it would be interesting to have it supported.


Antoine _______________________________________________ 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
  • Prev by Date: Settings compatibility
  • Next by Date: Re: Logic7.1 picks the wrong plugin
  • Previous by thread: Settings compatibility
  • Next by thread: core midi time stamping
  • Index(es):
    • Date
    • Thread