CV modulation of sequencer pattern

This commit is contained in:
2023-08-21 16:15:56 +03:00
parent 545581ec32
commit aa868c0a01
2 changed files with 3 additions and 3 deletions

View File

@ -287,9 +287,9 @@ void sendTriggers() {
//todo: limit modulation within the current bank (a or b)
int seqMod = 0;
if (channels[i].CV2Target == 3) {
seqMod = 0; map(a2Input, 0, 1023, -8, +8);
seqMod = map(a2Input, 0, 1023, -8, 8);
} else if (channels[i].CV1Target == 3) {
seqMod = 0; map(a1Input, 0, 1023, -8, +8);
seqMod = map(a1Input, 0, 1023, -8, 8);
}
byte seqPattern = channels[i].seqPattern + seqMod;