Simple remove of a coment...

pull/1/head
Holger Wirtz 8 years ago
parent ec921274a0
commit bd3be3b767
  1. 2
      src/msfa/dx7note.cc

@ -114,10 +114,8 @@ int ScaleLevel(int midinote, int break_pt, int left_depth, int right_depth,
int left_curve, int right_curve) { int left_curve, int right_curve) {
int offset = midinote - break_pt - 17; int offset = midinote - break_pt - 17;
if (offset >= 0) { if (offset >= 0) {
//return ScaleCurve(offset / 3, right_depth, right_curve);
return ScaleCurve((offset+1) / 3, right_depth, right_curve); return ScaleCurve((offset+1) / 3, right_depth, right_curve);
} else { } else {
//return ScaleCurve((-offset) / 3, left_depth, left_curve);
return ScaleCurve(-(offset-1) / 3, left_depth, left_curve); return ScaleCurve(-(offset-1) / 3, left_depth, left_curve);
} }
} }

Loading…
Cancel
Save