Re: Min and max values for an indexed parameter.
Re: Min and max values for an indexed parameter.
- Subject: Re: Min and max values for an indexed parameter.
- From: Philippe Wicker <email@hidden>
- Date: Sat, 31 Jan 2004 13:04:40 +0100
On Saturday, January 31, 2004, at 12:43 PM, Urs Heckmann wrote:
Thanks Urs, that's clear now :)
Philippe,
imagine you have a "Number Of Steps" parameter in a step sequencer
module. Now, 0 and 1 step don't make any sense, so 2 or higher would
be your minimum value.
And you wouldn't necessarily use a menu for an indexed parameter.
Cheers,
;) Urs
Am Samstag, 31.01.04 um 09:52 Uhr schrieb Philippe Wicker:
Hi all,
I'm digging into the part of the SampleEffectUnit code which deals
with preset and parameters management. In the
SampleEffectUnit::GetParameterInfo method, the min and max values of
the indexed parameter are set to 4 and 6. This indexed parameter may
have 3 values. So 4 an 6 values actually determine 3 discrete steps.
My question is why does the values starts from 4 and not 0 (or 1
because we deal with a popup entry here)? My understanding until now
is that the value of an indexed parameter is the index into the menu
that displays the value strings. It appears I was wrong :(( What is
the rationale behind the possibility of choosing arbitrary min >> values?
Thanks,
Philippe Wicker
email@hidden
_______________________________________________
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.
Philippe Wicker
email@hidden
_______________________________________________
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.