discrete parameters
so you are saying that if I want a control with five values, I must make its range be 0..4?
That is unfortunate. Many other plug-in APIs support discrete values naively - the ones I know of are RTAS and VST3.
Both of these use 0..1 for the range, but let the controls declare that they have a certain number of discrete values.
I would think that if I DID declare a control range of 0..4 that it would not work so well in other plug-in hosts, since the VST standard is 0..1
It seems that Reaper made an odd decision for this extension - if they had emulated VST3 or RTAS they would have a) been consistent with everyone else, and b) more compatible with other VST2 hosts.
How about a new version of the discrete extension that let's you specify a number of steps? That would address the flaws in today's API, but plug-ins that use today's API would still work.
|