24 lines
816 B
C
24 lines
816 B
C
//Settings
|
|
const int pitchSubSteps = 16; //set how many steps are there between semitones. set to 1 to quantize to semitones
|
|
const int driveAmount = 350;
|
|
const bool oversamplingEnabled = false; //makes V/OCT tracking more precise, but adds a little portamento
|
|
#define MIDI_CHANNEL 2 //MIDI_CHANNEL_OMNI
|
|
#define MOZZI_CONTROL_RATE 1024
|
|
|
|
//Hardware Definitions
|
|
#define Knob1 A6 //Intensity
|
|
#define Knob2 A4 //Modulator frequency ratio/Harmonics
|
|
#define Knob3 A2 //LFO Frequency
|
|
#define Knob4 A0 //LFO Shape
|
|
#define KnobA A5 //Attack
|
|
#define KnobDR A3 //Decay and Release
|
|
#define KnobS A1 //Sustain
|
|
#define CVIn A7 //CV input and Pitch knob
|
|
#define GateIn 10
|
|
#define EnvSwitch 11
|
|
#define DroneSwitch 12
|
|
#define LED 5
|
|
|
|
#define MOZZI_ANALOG_READ_RESOLUTION 10
|
|
|
|
MIDI_CREATE_DEFAULT_INSTANCE(); |