K053260: fix legato + arp on non-linear pitch

This commit is contained in:
tildearrow 2023-09-10 13:06:25 -05:00
parent 04de8356a7
commit 630bdfb2b5

View file

@ -314,7 +314,7 @@ int DivPlatformK053260::dispatch(DivCommand c) {
break;
}
case DIV_CMD_LEGATO: {
chan[c.chan].baseFreq=NOTE_PERIODIC(c.value+((HACKY_LEGATO_MESS)?(chan[c.chan].std.arp.val-12):(0)));
chan[c.chan].baseFreq=NOTE_PERIODIC(c.value+((HACKY_LEGATO_MESS)?(chan[c.chan].std.arp.val):(0)));
chan[c.chan].freqChanged=true;
chan[c.chan].note=c.value;
break;