• 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: Property Listener for parameter values?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Property Listener for parameter values?


  • Subject: Re: Property Listener for parameter values?
  • From: Airy André <email@hidden>
  • Date: Wed, 20 Nov 2002 20:53:39 +0100

I've put this in my HandleControlChange method of one of my synth :

void CNeuSynth::HandleControlChange( int inChannel,
UInt8 inController,
UInt8 inValue,
long inStartFrame)
{
AudioUnitParameter aup;
aup.mAudioUnit = mComponentInstance;
aup.mScope = kAudioUnitScope_Global;
aup.mElement = 0;
...
switch (inController) {
case kLFO1DepthMIDIController:
aup.mParameterID = kG5;
AUParameterSet(0, 0, &aup, (inValue-64.)/64., 0);
break;
...
}

My GUI is very happy with that, even with several instances of my GUI
window open at the same time...
And it seems quite logical to me to do so, and the only way to be sure
everybody interested by the change will be notified.

Airy
_______________________________________________
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.

  • Prev by Date: Re: Property Listener for parameter values?
  • Next by Date: Re: mLan and MacOS X
  • Previous by thread: Re: Property Listener for parameter values?
  • Next by thread: Re: Property Listener for parameter values?
  • Index(es):
    • Date
    • Thread