Re: ParameterValues
Re: ParameterValues
- Subject: Re: ParameterValues
- From: Airy André <email@hidden>
- Date: Sat, 17 Apr 2004 18:18:36 +0200
Michael,
This is new AU features, so I don't think Logic support it yet.
I think current Logic only support strings values for indexed
parameters.
Airy
Le 17 avr. 04, ` 15:51, Michael Kleps [reFX] a icrit :
Hi Bill,
thanks, I read and tried that. Doesn't work for me. Can somebody post a
short example?
This is my version:
------------------------------------------------------
In "GetParameterInfo"
sInfo.cfNameString = CFStringCreateWithCString(NULL, sInfo.name,
kCFStringEncodingISOLatin1);
sInfo.unit = kAudioUnitParameterUnit_Generic;
sInfo.minValue = 0.0f;
sInfo.maxValue = 1.0f;
sInfo.defaultValue = 0.0f;
sInfo.flags = kAudioUnitParameterFlag_IsReadable |
kAudioUnitParameterFlag_IsWritable |
kAudioUnitParameterFlag_IsHighResolution |
kAudioUnitParameterFlag_HasCFNameString |
kAudioUnitParameterFlag_ValuesHaveStrings;
------------------------------------------------------
Now, *HOW* does the host try to retrieve the string for the current
value? In "GetProperty"? Example please....
Do I need to do something in "GetPropertyInfo" do the host knows it
makes sense to call GetProperty at the time the value changes? What
*exaclty* (example)?
Regards,
Mike
Am 17.04.2004 um 03:18 schrieb William Stewart:
Have a look in the latest SDK - there's docs and API there to allow
you to translate between parameter values and the strings that should
be used to display them (and to convert back from a display string to
a value as well)
Bill
On 16/04/2004, at 2:24 PM, Michael Kleps [reFX] wrote:
Hi all,
how can I use custom parameter value strings like the VST-method
"getParameterDisplay()"? What I basicly want is that the host calls
my AU and asks for a string to be displayed for the current value
(e.g. during automation).
Thanks in advance for any help you can provide.
Cheers,
Mike
_______________________________________________
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.
_______________________________________________
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.