On 07/25/2014 10:31 PM, Hannu Haahti wrote:
> 2014-07-25 22:19 GMT+03:00 Vesa <[email protected] <mailto:[email protected]>>:
>
>     On 07/25/2014 10:09 PM, Hannu Haahti wrote:
>>
>>         - VST plugins receive control changes as MIDI commands.
>>
>>
>>     Except that they don't; VST has its own mechanism that works
>>     exclusively in the range of 0..1.
>>
>>     Some plugins may recognize MIDI control change events, but LMMS
>>     doesn't even try to send them.
>
>     Hm. You sure? I was sure they were using MIDI commands...
>
>
> Yes, the AEffect struct has setParameter and getParameter function
> pointers to set and get float values. Plugins are free to handle any
> MIDI messages they want in their dispatcher function.
>

Ok. Then we can just increase the accuracy and that should solve that.

>  
>
>     Anyway, that changes things somewhat, but the issue still
>     remains... is the 0.01 step size sufficient for VST control changes?
>
>
> I'd go as far as 0.0001 for VST (and LADSPA)...

As for LADSPA, things are a bit different there... there's no set step
size, instead, we just choose a set amount of steps within the range and
the step size will be range/amount. I recently increased the values we
use there, so that the step sizes are smaller (can't remember if this is
in 1.1 or master only). Also automations no longer get quantized to step
size but instead move smoothly between them, so that should also help there.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to