• 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
Paremeter changes by the user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Paremeter changes by the user


  • Subject: Paremeter changes by the user
  • From: Aristotel Digenis <email@hidden>
  • Date: Wed, 16 Jun 2004 17:31:24 +0100

Hello,

I have recently started to learn programming for AudioUnits. I have been using the SampleEffectUnit example that comes with the SDK to make a few changes and experiment with things. I have now come to an absolute state of confusion.

I have a parameter on the default GUI with a range between 0.0 and 1.0 with the default value at 0.0. I would like to make a simple gain effect for the sake of learning about parameter control. I have declared a "gainValue" float and i want when the slider is moved, that value to be passed to the "gainvalue" float. gainValue will be used in the processing section of the code to apply it to the samples as amplitude (sample = sample * gainValue).

Does the getParameter() function automatically get called when the user moves a slider in the default GUI just like it happens in VSTs? Having read the documentation of the SDK it seems I need to use Listeners. And this is where it gets confusing. There is a list of listener related functions int eh documentation, then there posts in this mailing lists which suggest the API is changing to a new method of dealing with events. then there is the AUPropertiesPostPanther.h file which seems to play a role in this change, yet I cannot compile my code if that header is included ( i get tons of errors).

Could somebody explain how the AudioUnit knows when a slider has moved?Is it event listener? or parameter listener?

Thank you in advance

--
Aristotel Digenis
email@hidden
http://www.digenis.ws
_______________________________________________
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: Paremeter changes by the user
      • From: William Stewart <email@hidden>
  • Prev by Date: SpectrumAU feedback wanted
  • Next by Date: Re: Multiple HALAOUs don't get along?
  • Previous by thread: SpectrumAU feedback wanted
  • Next by thread: Re: Paremeter changes by the user
  • Index(es):
    • Date
    • Thread