mogrifier / WavsynModular

WavsynModular code for VCVRack Modules
GNU General Public License v3.0
1 stars 0 forks source link

introduce modulo counting for the step #15

Closed mogrifier closed 3 months ago

mogrifier commented 3 months ago

starting at 1 is easy, just count 1..8. Starting at 3 means 3, 4, 5, 6 ,7 ,8, 1, 2. So you have to have a step count that maps to the actual UI numbering of 1..8 (based on starting position) so that you are reading knobs properly and writing output properly.

mogrifier commented 3 months ago

modulo will shift the start by the setting amount. Make it 0-7. Only shift the start at end of bar. Do it always (not random) unless set to 0, which is naturally no shift.