Additional br tweaking

This commit is contained in:
Brian Hrebec 2023-08-30 22:50:55 -05:00
parent 7740c09375
commit e757ebc885
9 changed files with 91 additions and 44 deletions

View file

@ -18,9 +18,6 @@
// A note is sounding
#define NOTE_ON 3
// We turned the note off due to a HF spike
#define SPIKE_HOLD 4
enum PinkyMode : uint8_t {
PBD = 12,
GLD = 25,
@ -54,6 +51,8 @@ enum BreathMode : uint8_t {
BREATH_LSB = 1,
BREATH_AT = 2,
BREATH_LSB_AT = 3,
BREATH_ACC = 4,
BREATH_ACC_AT = 5,
};
enum ExtraControl : uint8_t {
@ -89,7 +88,6 @@ struct instrument_state_t {
// Raw sensor signals
int16_t breathSignal = 0; // breath level (smoothed) not mapped to CC value
int16_t breathAltSignal = 0;
int16_t spikeSignal = 0; // breath level (smoothed) not mapped to CC value
int16_t biteSignal = 0; // capacitance data from bite sensor, for midi cc and threshold checks
int16_t leverSignal = 0;
int16_t pbUpSignal = 0;