Re: AudioUnitSetParameter and Generic UI updates
Re: AudioUnitSetParameter and Generic UI updates
- Subject: Re: AudioUnitSetParameter and Generic UI updates
- From: William Stewart <email@hidden>
- Date: Wed, 7 Apr 2004 11:54:00 -0700
On 07/04/2004, at 11:15 AM, Robert Grant wrote:
>
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.
Its not the AU's responsibility to notify listeners - we deliberately
kept this requirement out of the AU.
Bill
>
>
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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.