maximum key range
This commit is contained in:
parent
750b43f6c5
commit
b70ab64dc1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue