[LV2] Request: Can-Randomize control hint

Filipe Coelho falktx at gmail.com
Mon Mar 17 10:45:58 PDT 2014


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.

What do you think about "cannotRandomize"?





More information about the Devel mailing list