updated midulations part
This commit is contained in:
@ -3,10 +3,9 @@ Features:
|
|||||||
- Master BPM
|
- Master BPM
|
||||||
- Separate divider or multiplier per chennel (from /32 to x24)
|
- Separate divider or multiplier per chennel (from /32 to x24)
|
||||||
- Per-channel random pulse skip (currently only 50/50 chance)
|
- Per-channel random pulse skip (currently only 50/50 chance)
|
||||||
- 2 inputs for external modulation
|
- 2 inputs for external modulation (assignable per channel)
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
- per-channel modulation settings
|
|
||||||
- different chance options for random
|
- different chance options for random
|
||||||
- Save state to EEPROM when stopped
|
- Save state to EEPROM when stopped
|
||||||
- design PCB
|
- design PCB
|
||||||
|
|||||||
@ -252,6 +252,10 @@ void checkInputs() {
|
|||||||
outsRandom[displayTab-1] = !outsRandom[displayTab-1];
|
outsRandom[displayTab-1] = !outsRandom[displayTab-1];
|
||||||
} else if (displayTab != 0 && insideTab == 2) { //modulation
|
} else if (displayTab != 0 && insideTab == 2) { //modulation
|
||||||
outsModRange[displayTab-1] = outsModRange[displayTab-1] + change;
|
outsModRange[displayTab-1] = outsModRange[displayTab-1] + change;
|
||||||
|
if (outsModRange[displayTab-1] > 6 || outsModRange[displayTab-1] < -6) {
|
||||||
|
outsMod[displayTab-1] = !outsMod[displayTab-1];
|
||||||
|
outsModRange[displayTab-1] = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
updateScreen();
|
updateScreen();
|
||||||
encPositionOld = encPosition;
|
encPositionOld = encPosition;
|
||||||
|
|||||||
Reference in New Issue
Block a user