diff --git a/plugin/assigner.cpp b/plugin/assigner.cpp index 65ac907..582022c 100644 --- a/plugin/assigner.cpp +++ b/plugin/assigner.cpp @@ -19,7 +19,7 @@ #include "assigner.hpp" #include "generator.hpp" -// #define DEBUG +//#define DEBUG void Assigner::dumpTables() { #ifdef DEBUG @@ -134,9 +134,11 @@ void Assigner::noteOn(uint8_t note) { break; } } - // printf("at end, l=%d e=%d\n", l,e); noteTbl[v] = note; + // limit highest note to C7, one octave above the Solina's maximum range + while(note>96) note -= 12; + voices[v].startNote(note); d_debug("send voice on %3d to voice %d", note, v);