started adding swing and gate to UI
This commit is contained in:
@ -6,9 +6,9 @@
|
||||
#include <avr/wdt.h>
|
||||
#include <NeoHWSerial.h>
|
||||
|
||||
#define VERSION "V:1.1.1"
|
||||
#define VERSION "V:1.2A"
|
||||
|
||||
byte memCode = 'D'; //Change to different letter if you changed the data structure
|
||||
byte memCode = 'E'; //Change to different letter if you changed the data structure
|
||||
|
||||
#define PPQN 24
|
||||
#define PULSE_LENGTH 120 //1/10ms resolution. 12ms was failing at 1ms resolution at higher bpm. 60000/200/24 = 12.5 the max pulse length at 1ms resolution for 200bpm is 11ms
|
||||
@ -60,15 +60,15 @@ byte bpmModulationChannel = 200; //0 - CV1, 1 - CV2, 255 - OFF
|
||||
byte bpmModulationRange = 0;
|
||||
|
||||
struct channel {
|
||||
byte mode; //0 - CLK, 1 - RND, 2 - SEQ
|
||||
byte mode; //0 - CLK, 1 - RND, 2 - SEQ, 3 - SWING, 4 - Gate
|
||||
byte subDiv;
|
||||
byte CV1Target; //0 - Off, 1 - Subdiv, 2 - RND, 3 - SeqPattern
|
||||
byte CV1Range;
|
||||
byte CV2Target;
|
||||
byte CV2Range;
|
||||
uint8_t offset;
|
||||
byte random;
|
||||
byte seqPattern;
|
||||
uint8_t gate;
|
||||
uint8_t swing; //some of this params can be combinde into 4+4 bits to save space
|
||||
};
|
||||
|
||||
channel channels[6] = { //array of channel settings
|
||||
|
||||
Reference in New Issue
Block a user