• 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: Parameter change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameter change


  • Subject: Re: Parameter change
  • From: William Stewart <email@hidden>
  • Date: Tue, 19 Aug 2008 19:23:39 -0700

In your render function you get the value of a parameter using AUBase::GetParameter - then you use that value when you compute your notes, etc..

If you want to be aware when the parameter actually changes, then you can overide AUBase::SetParameter and take appropriate action at that point.

Bill

On Aug 19, 2008, at 2:04 PM, Pjotr kiwapta wrote:


Hello,

I am new to audiounit programming. I have created a simple audiounit, based on AUMonotimbralInstrumentBase. I have created some parameters, but now I got stuck. I don't understand how I should implement a function that responses to parameter changes. I have red the documentation, and it says I should use the AudioUnitEventAPI, but nowhere is explained how. I would like some samplecode where a function is connected to a parameter change event.

Thank you verry much for your help.

PJP
_________________________________________________________________
Ontdek hoe sportief jij bent. Doe de quiz!
http://yourinnerathlete.windowslive.com?locale=nl-nl&ocid=TXT_TAGLM_WLYIA_takequiz_nl _______________________________________________
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

_______________________________________________ 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
References: 
 >Parameter change (From: Pjotr kiwapta <email@hidden>)

  • Prev by Date: Re: Maximum number of parameters?
  • Next by Date: IO Buffer Size Range
  • Previous by thread: Parameter change
  • Next by thread: IO Buffer Size Range
  • Index(es):
    • Date
    • Thread