summaryrefslogtreecommitdiff
path: root/src/mdaPianoVoice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mdaPianoVoice.cpp')
-rw-r--r--src/mdaPianoVoice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mdaPianoVoice.cpp b/src/mdaPianoVoice.cpp
index 9f75839..7ccd9d5 100644
--- a/src/mdaPianoVoice.cpp
+++ b/src/mdaPianoVoice.cpp
@@ -49,6 +49,7 @@ void mdaPianoVoice::on(unsigned char note, unsigned char velocity)
{
// store key that turned this voice on (used in 'get_key')
m_key = note;
+ update(Current);
float l=99.0f;
uint32_t k, s;