From: rekado Date: Fri, 18 Jan 2013 10:26:39 +0000 (+0800) Subject: remove commented code X-Git-Tag: 0.0.1~54 X-Git-Url: https://git.elephly.net/?p=software%2Flv2-mdametapiano.git;a=commitdiff_plain;h=e392144b8565284f2a8c4bfea3fa777bfeb633a6 remove commented code --- diff --git a/src/mdaPianoVoice.cpp b/src/mdaPianoVoice.cpp index 7ccd9d5..45dc966 100644 --- a/src/mdaPianoVoice.cpp +++ b/src/mdaPianoVoice.cpp @@ -56,22 +56,6 @@ void mdaPianoVoice::on(unsigned char note, unsigned char velocity) if(velocity>0) { - // TODO: move this to mdaPiano.cpp - /* - if(activevoices < poly) //add a note - { - vl = activevoices; - activevoices++; - } - else //steal a note - { - for(v=0; v 60) l += stretch * (float)k; //stretch @@ -111,11 +95,7 @@ void mdaPianoVoice::on(unsigned char note, unsigned char velocity) } else //note off { - // TODO: move the loop to mdaPiano.cpp - //for(v=0; v