commit a46ad045fc916bf21be4c622c5aec401c9130aad
parent d0b0eb7eb4e537ccec395015d17f01b9201ee649
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sun, 1 Nov 2015 21:35:09 -0500
Mono-Mode: Fix Unexpected Note Replay On Note Off
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Misc/Part.cpp b/src/Misc/Part.cpp
@@ -492,7 +492,7 @@ void Part::NoteOff(unsigned char note) //release the key
monomemPop(note);
for(auto &desc:notePool.activeDesc()) {
- if(desc.note != note)
+ if(desc.note != note || desc.status != KEY_PLAYING)
continue;
if(!ctl.sustain.sustain) { //the sustain pedal is not pushed
if((isMonoMode() || isLegatoMode()) && !monomemEmpty())