Hi Toby,
my patch is almost finished. Only two questions left.
1. The patch works correcty, except for stereo channels. If you connect the
left control knob and have stereo link enabled, the left works logarithmic (as
wanted), but the right is still linear.
Do you think you could fix that, if I'd submit you my patch? I miss
documentation in the LADSPA Control View.
2. I found this code here in AutomatableModel.cpp
// correct rounding error at the border
if( qAbs<float>( value - m_maxValue ) < typeInfo<float>::minEps() *
qAbs<float>( m_step ) )
{
value = m_maxValue;
}
// correct rounding error if value = 0
if( qAbs<float>( value ) < typeInfo<float>::minEps() * qAbs<float>(
m_step
) )
{
value = 0;
}
Why is it not "(value - m_minValue)" before the "<" in the second if? I think
this would lead to misbehaviour if m_minValue != 0.
Regards,
Johannes
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel