• 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
Help needed for Audio Unit Parameter Change Notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help needed for Audio Unit Parameter Change Notification


  • Subject: Help needed for Audio Unit Parameter Change Notification
  • From: "Rémi Thébault" <email@hidden>
  • Date: Thu, 25 Oct 2007 17:13:09 +0200

Hello Everybody

I'm Newbie in Audio Unit development (and non-professionnal). I intend
to make a passthru effect unit that indicates the main frequency of
the sound going through it (using fft).
So I just need one parameter for the moment : named kParam_NoteFreq.

So at the end of the process function (right after the frequency
calculation) i have :

     mAudioUnit->SetParameter(kParam_NoteFreq, mNoteFreq);

But it doesn't work. The AU Programming Guide says that this function
change the value of the parameter and notifies the listeners of the
change. But I didn't set up any listener and I don't know how to do it
and how it works.

I've also seen a thread like "Calling SetParameter() from within
Process()" where I found this code :

      AudioUnitParameter param;

      param.mAudioUnit = mAudioUnit->GetComponentInstance();
      param.mScope = kAudioUnitScope_Global;
      param.mParameterID = kParam_NoteFreq;

      AUParameterListenerNotify(NULL, NULL, &param);

XCode raise an error during building saying that
AUParameterListenerNotify is not declared in this scope.

Any help would be appeciable.
Thanks in advance

Rémi Thébault
 _______________________________________________
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

  • Follow-Ups:
    • Re: Help needed for Audio Unit Parameter Change Notification
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: AudioDeviceAddPropertyListener adn the headphone jack
  • Next by Date: Re: Help needed for Audio Unit Parameter Change Notification
  • Previous by thread: Re: Partial automation, how to ?
  • Next by thread: Re: Help needed for Audio Unit Parameter Change Notification
  • Index(es):
    • Date
    • Thread