Re: GetParameterValueStrings
Re: GetParameterValueStrings
- Subject: Re: GetParameterValueStrings
- From: Marc Poirier <email@hidden>
- Date: Fri, 22 Aug 2003 07:18:58 -0500 (CDT)
On Fri, 22 Aug 2003, Jim Wintermyre wrote:
>
So, for example let's say you have a parameter called "widgets". Its
>
actual value range in float is 0 to 5. However, you want it
>
displayed to the user in terms of some random unit called "zoids",
>
and that particular range is mapped non-linearly to the 0 to 5 float
>
range within the plugin. The minimum value of 0 corresponds to -7
>
zoids, max value of 5 corresponds to 23.7 zoids. Your custom editor
>
already displays this parameter in terms of "zoids", you want the
>
generic editor to do the same. So the generic UI would look like
>
this (in bad ASCII art):
>
>
Widgets: -7 --------X------ 23.7 (8.5) zoids
>
>
Here, the X represents the current position in a slider, which is 8.5
>
zoids. Obviously this is a very contrived example, but you get the
>
idea.
>
>
So anyway, as far as I can tell most of this functionality is already
>
there for generic params. You already have param name and range (the
>
"actual" range, not the "displayed" range).
Why would you make "actual range" and "displayed range" be different?
Marc
_______________________________________________
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.