From e392144b8565284f2a8c4bfea3fa777bfeb633a6 Mon Sep 17 00:00:00 2001 From: rekado Date: Fri, 18 Jan 2013 18:26:39 +0800 Subject: [PATCH] remove commented code --- src/mdaPianoVoice.cpp | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) 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