• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Min and max values for an indexed parameter.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Min and max values for an indexed parameter.


  • Subject: Re: Min and max values for an indexed parameter.
  • From: Urs Heckmann <email@hidden>
  • Date: Sat, 31 Jan 2004 12:43:32 +0100

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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Min and max values for an indexed parameter.
      • From: James Coker <email@hidden>
    • Re: Min and max values for an indexed parameter.
      • From: Philippe Wicker <email@hidden>
References: 
 >Min and max values for an indexed parameter. (From: Philippe Wicker <email@hidden>)

  • Prev by Date: Min and max values for an indexed parameter.
  • Next by Date: Re: Min and max values for an indexed parameter.
  • Previous by thread: Min and max values for an indexed parameter.
  • Next by thread: Re: Min and max values for an indexed parameter.
  • Index(es):
    • Date
    • Thread