How to pass the UI's parameter change to the synthesizer kernel
How to pass the UI's parameter change to the synthesizer kernel
- Subject: How to pass the UI's parameter change to the synthesizer kernel
- From: 除村 武志 <email@hidden>
- Date: Wed, 28 Apr 2010 17:19:36 +0900
Hi, all
I'm developing a synthesizer plugin.
It has lots of parameters to control, but it doesn't have a custom UI.
Only lots of simple sliders will appear when it's launched ;)
Basically it's working well, but I have one point that I want to
improve.
In my plugin, the parameters set on the UI are retrieved by a bunch of
GetParameter() calls at the beginning of my render callback.
It can be said it's "pulling" parameters from my processing routine.
But I don't want it to retrieve all the parameters in every cycle
because it has lots of parameters and it's not good for the
performance to read them all every time.
So I want to change it to "push" style,
that is, receiving the change from UI
to change the corresponding parameter only.
Apple's Filter Demo Example seems to use "pull" algorithm :
it has GetParameter() calls at the beginning of render callback,
and no setter functions to allow the other objects to change the
kernel's parameters.
Are there any good way to do that?
Oh, before that, is my understanding correct??
Thanks,
---
Takeshi Yokemura
_______________________________________________
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