# HG changeset patch # User lbajardsilogic # Date 1204903547 0 # Node ID 8b0f142fa8d2f248b54b3d5a45b54f10a08346b0 # Parent d97cd54612205db3823553b0a1baa2a61d30dce8 correct vertical resolution problem diff -r d97cd5461220 -r 8b0f142fa8d2 sv/filter/DSP.cpp --- a/sv/filter/DSP.cpp Fri Mar 07 15:05:57 2008 +0000 +++ b/sv/filter/DSP.cpp Fri Mar 07 15:25:47 2008 +0000 @@ -532,7 +532,7 @@ for(i=0; i<10; i++) { - gain=(110-(eqcurve.at(i*10)-85))/120; // eqcurve is the array filled when the user draws on the canvas + gain=(119-(eqcurve.at(i*10)))/120; // eqcurve is the array filled when the user draws on the canvas if (gain < 0){gain=0;} L_mags[i]*=gain; R_mags[i]*=gain; @@ -546,7 +546,7 @@ interpfactor=1.1; result=100+((interpfactor*(p-10))); ind=int(result); - gain=(110-(eqcurve.at(ind)-85))/120; + gain=(119-(eqcurve.at(ind)))/120; //gain=(110-(eqcurve[i+90]-85))/120; if (gain < 0){gain=0;} @@ -563,7 +563,7 @@ interpfactor=0.11; result=200+((interpfactor*(p-100))); ind=int(result); - gain=(110-(eqcurve.at(ind)-85))/120; + gain=(119-(eqcurve.at(ind)))/120; if (gain < 0){gain=0;} L_mags[i]*=gain; R_mags[i]*=gain; @@ -578,7 +578,7 @@ interpfactor=.09; result=300+((interpfactor*(p-1000))); ind=int(result); - gain=(110-(eqcurve.at(ind)-85))/120; + gain=(119-(eqcurve.at(ind)))/120; if (gain < 0){gain=0;} L_mags[i]*=gain; R_mags[i]*=gain;