zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 158525bf09be375da84d284338f50a5656608334
parent d17705c7a36c409c1b5036533d3090428571b902
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Wed, 30 Sep 2015 21:42:48 -0400

NotePool: Fix Legato Transition

Diffstat:
Msrc/Containers/NotePool.cpp | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Containers/NotePool.cpp b/src/Containers/NotePool.cpp @@ -117,8 +117,9 @@ int NotePool::getRunningNotes(void) const { bool running[256] = {0}; for(auto &desc:activeDesc()) { - printf("note!(%d)\n", desc.note); - running[desc.note] = true; + //printf("note!(%d)\n", desc.note); + if(desc.status == Part::KEY_PLAYING) + running[desc.note] = true; } int running_count = 0;