Re: AudioUnitSetParameter and Generic UI updates
Re: AudioUnitSetParameter and Generic UI updates
- Subject: Re: AudioUnitSetParameter and Generic UI updates
- From: Robert Grant <email@hidden>
- Date: Wed, 7 Apr 2004 14:15:01 -0400
Oh - maybe the fact that I didn't mention that I'm a host (not an AU)
might be confusing things?
I'm a host setting parameters on an AU and thus do not know about any
other listeners that may have been connected to the AU. Certainly the
AU should notify any listeners of changes that come from either the UI
or from the host.
Sorry for the confusion,
Robert.
On Apr 7, 2004, at 1:46 PM, Robert Grant wrote:
Is that a reply to me or to Jeremy?
If to me, I don't see it as my job to keep an AU's UI in sync with it!
If I change an AU parameter it's the AUs job to keep any open UIs in
sync. Or for that matter if the AU changes its parameters internally -
it should keep its UI in sync.
Robert.
On Apr 7, 2004, at 1:37 PM, Marc Poirier wrote:
But notifying listeners is the only way that the Generic UI will know
that
it needs to update...
Marc
On Wed, 7 Apr 2004, Robert Grant wrote:
Hi Jeremy,
I don't think so - I don't want to get involved in the listening side
(well except when I'm establishing a link between an AU parameter
and a
MIDI CC). I just want to tell the AU to change a parameter (using
AudioUnitSetParameter) and (if the AU's UI is open) for the change to
be reflected in the UI.
What I'm doing works for many MusicDevices such as buzZer, Claw, any
of
the LinPlug synths, etc. though there are some notable exceptions.
Robert.
On Apr 7, 2004, at 11:56 AM, Jeremy Sagan wrote:
Robert,
I am not sure exactly what you are trying to do but it sounds like
you
should be using AUParameterSet.
Jeremy
On Apr 7, 2004, at 11:36 AM, Robert Grant wrote:
A follow up...
Now maybe my plugins are way out of date - but I can't find an
effect
UI - generic or otherwise - that updates itself based upon changes
coming from AudioUnitSetParameter.
Is there one around that I can test with?
Thanks,
Robert.
On Apr 7, 2004, at 11:14 AM, Robert Grant wrote:
I just added MIDI remote control for Apple's effects using
AudioUnitSetParameter to change the values and to my surprise and
disappointment the UI does not update even though the AU
recognizes
the changes and changes the DSP. I would have thought the generic
UI
code would have been updated to post notifications when this
function is called? It makes automation/remote control a lot more
friendly.
Thanks,
Robert.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.