• 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
Detecting preset parameter changes in Audio Units
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting preset parameter changes in Audio Units


  • Subject: Detecting preset parameter changes in Audio Units
  • From: Frank Schoep <email@hidden>
  • Date: Thu, 29 Mar 2007 21:31:14 +0200

Hello all,

Can anyone shed some light on how to detect host-side preset changes in an Audio Unit?

Thanks to the help from Michael, William et al I have successfully implemented dynamic parameter names, dependent on another parameter. However, when changing a preset, the host application (AU Lab) doesn't make a call to SetParameter so I can't detect the change and reset parameter names accordingly.

I have looked into this and I think that the kAudioUnitProperty_PresentPreset comes close to what I want to use as a trigger, but I don't know how to use this property for an event based system instead of polling. Also, I'm not sure how to detect the change of the actual preset since both presetNumber and presetName are not necessarily unique.

If there is another way to detect preset changes I'd like to hear about it. I have a workaround available in the form of (ab)using my AUKernel::Process method to monitor for changes in the GUI parameters, but of I'd greatly prefer an elegant method.

Note that I'm not per say interested in monitoring preset changes, but more in parameter value changes on preset change, I hope that makes sense.

Thanks in advance for your assistance, I'm getting closer and closer to the actual release of my work.

With kind regards,

Frank Schoep

_______________________________________________
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: Detecting preset parameter changes in Audio Units
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: USB Audio Class 2.0 drivers
  • Next by Date: Re: 192000 Hz won't render
  • Previous by thread: Re: 192000 Hz won't render
  • Next by thread: Re: Detecting preset parameter changes in Audio Units
  • Index(es):
    • Date
    • Thread