Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2440 → Rev 2441

/trunk/apps/processing/midibox_cv_v2/src/mbcv_rgb.cpp
89,7 → 89,7
{
float effective;
if( env->getNRPNEffectiveValue(e->nrpn, &effective) ) {
saturation += effective * 0.25; // add only 25%
saturation += effective * 0.50; // add only 50%
if( saturation < 0.0 )
saturation = 0.0;
else if( saturation > 1.0 )