aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-22 21:29:37 +0000
committerDavid Robillard <d@drobilla.net>2010-02-22 21:29:37 +0000
commite926cd18a51f037bd6078b0177a0c99de844be36 (patch)
tree404dee0a83abd00cd5cd68c4d4dbefd0f48c755f
parente19e9e596a6a098c32f4cb813bab0fb67b5018d7 (diff)
downloadmda.lv2-e926cd18a51f037bd6078b0177a0c99de844be36.tar.gz
mda.lv2-e926cd18a51f037bd6078b0177a0c99de844be36.tar.bz2
mda.lv2-e926cd18a51f037bd6078b0177a0c99de844be36.zip
Merge with upstream r5.
git-svn-id: http://svn.drobilla.net/lad/trunk/mda-lv2@2473 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/mdaEPiano.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mdaEPiano.cpp b/src/mdaEPiano.cpp
index fbff1d5..342d8a5 100644
--- a/src/mdaEPiano.cpp
+++ b/src/mdaEPiano.cpp
@@ -495,7 +495,7 @@ void mdaEPiano::noteOn(LvzInt32 note, LvzInt32 velocity)
if(note > 60) l += stretch * (float)k; //stretch
s = size;
- if(velocity > 40) s += (LvzInt32)(sizevel * (float)(velocity - 40));
+ //if(velocity > 40) s += (LvzInt32)(sizevel * (float)(velocity - 40)); - no velocity to hardness in ePiano
k = 0;
while(note > (kgrp[k].high + s)) k += 3; //find keygroup