[LV2] Request: Can-Randomize control hint

William Light wrl at illest.net
Fri Mar 21 07:28:14 PDT 2014



On Mon, 17 Mar 2014, at 18:45, Filipe Coelho wrote:
> On 03/17/2014 05:20 PM, David Robillard wrote:
> > On Sun, 2014-03-16 at 14:57 +0000, Filipe Coelho wrote:
> >> Hi there, I have a request for LV2.
> >>
> >> I'm currently implementing a randomize option for plugin parameters in
> >> my host, and realized some params should never be changed this way (like
> >> volume).
> >> I can lookup port designations and leave volume and a few others out,
> >> but it doesn't sound like a perfect solution.
> >>
> >> So, what do you think about adding a new port property for this?
> >>
> >> Something like:
> >> http://lv2plug.in/ns/ext/port-props#canRandomize
> > Bit of a vague situation specific definition, seems to be a level above
> > the underlying meaning, so to speak, like this isn't really a meaningful
> > thing at the plugin level I'd expect plugin authors to adopt, but a
> > specific use case of <something> in your host.
> >
> > Would something like affectsLevels be more appropriate?
> Probably, yes.
> On 2nd though "cannotRandomize" would make more sense over
> "canRandomize".
> 
> > Presumably the true reason you don't want to randomize volume in this
> > particular case is that it affects the overall levels significantly,
> > which the user probably wants to remain constant even if they twiddle
> > other controls?
> Yes, correct.
> 
> > What are the "few others"?  If it's really just levels, then looking for
> > that specific designation actually seems like a better solution to me,
> > since that designation is also very useful in many cases and adding
> > incentive for plugins to use it would be a good thing.
> Perhaps.
> I can't think of other types of parameters that should never be 
> randomized right now, but they might exist.

Note logic is one that doesn't make sense to randomize. Pitch bend
range,
also? The danger is that you start to get into very subjective
territory.

> What do you think about "cannotRandomize"?

I prefer opt-out to opt-in in this case, so I vote "cannotRandomize".

-w

> 
> _______________________________________________
> Devel mailing list
> Devel at lists.lv2plug.in
> http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in



More information about the Devel mailing list