Re: Parameter change
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