UI tweaks for new modes

This commit is contained in:
Oleksiy
2024-10-18 15:46:34 +03:00
parent 3cd323d5b9
commit a7fc9663da
3 changed files with 13 additions and 6 deletions

View File

@ -452,7 +452,7 @@ void calculateCycles() {
}
playingModes[i] = subDivs[channels[i].subDiv - mod]; //subtracting because the innitial array is backwards
if (channels[i].mode == 2) { //Sequencer 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;