keyOffAffectsArp is now per-channel

This commit is contained in:
tildearrow 2021-12-08 00:33:00 -05:00
parent 5fbaf71105
commit 65ab3a2b5d
13 changed files with 19 additions and 9 deletions

View file

@ -300,7 +300,7 @@ void DivEngine::processRow(int i, bool afterDelay) {
} else if (!(pat->data[whatRow][0]==0 && pat->data[whatRow][1]==0)) {
chan[i].note=pat->data[whatRow][0]+pat->data[whatRow][1]*12;
if (!chan[i].keyOn) {
if (dispatch->keyOffAffectsArp()) {
if (dispatch->keyOffAffectsArp(i)) {
chan[i].arp=0;
}
}