some changes to swing

This commit is contained in:
Oleksiy
2024-11-29 14:32:57 +02:00
parent 2285da9bd4
commit 4a5b1662f9
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@
#define VERSION "V:1.2A"
byte memCode = 'D'; //Change to different letter if you changed the data structure
byte memCode = 'd'; //Change to different letter if you changed the data structure
uint16_t CV1Calibration = 512;
uint16_t CV2Calibration = 512;
@ -449,7 +449,7 @@ void calculateCycles() {
}
playingModes[i] = subDivs[channels[i].subDiv - mod]; //subtracting because the innitial array is backwards
if (channels[i].mode == 2) { //} || channels[i].mode == 3) { //Sequencer and swing plays 1/16th
if (channels[i].mode == 2 || channels[i].mode == 3) { //Sequencer and swing plays 1/16th
channelPulsesPerCycle[i] = (PPQN / 4) - 1;
} else if (playingModes[i] > 0) {
channelPulsesPerCycle[i] = (playingModes[i] * PPQN) - 1;