|
|
|
@ -2208,7 +2208,9 @@ void set_chorus_feedback(uint8_t value) |
|
|
|
|
Serial.print(F("Set CHORUS_FEEDBACK ")); |
|
|
|
|
Serial.println(value); |
|
|
|
|
#endif |
|
|
|
|
float tmp = mapfloat(float(value), ENC_CHORUS_FEEDBACK_MIN, ENC_CHORUS_FEEDBACK_MAX, 0.0, 0.2); |
|
|
|
|
float tmp = mapfloat(float(value), ENC_CHORUS_FEEDBACK_MIN, ENC_CHORUS_FEEDBACK_MAX, 0.0, 0.5); |
|
|
|
|
modchorus_fbk_mixer_r.gain(0, 1.0 - tmp); |
|
|
|
|
modchorus_fbk_mixer_l.gain(0, 1.0 - tmp); |
|
|
|
|
modchorus_fbk_mixer_r.gain(1, tmp); |
|
|
|
|
modchorus_fbk_mixer_l.gain(1, tmp); |
|
|
|
|
configuration.chorus_feedback = value; |
|
|
|
@ -2280,7 +2282,7 @@ void set_bass_mono_level(uint8_t value) |
|
|
|
|
configuration.bass_mono_level = value; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void set_eq_bass(uint8_t value) |
|
|
|
|
void set_eq_bass(int8_t value) |
|
|
|
|
{ |
|
|
|
|
if (value > ENC_EQ_TREBLE_MAX) |
|
|
|
|
value = ENC_EQ_TREBLE_MAX; |
|
|
|
@ -2294,7 +2296,7 @@ void set_eq_bass(uint8_t value) |
|
|
|
|
configuration.eq_bass = value; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void set_eq_treble(uint8_t value) |
|
|
|
|
void set_eq_treble(int8_t value) |
|
|
|
|
{ |
|
|
|
|
if (value > ENC_EQ_BASS_MAX ) |
|
|
|
|
value = ENC_EQ_BASS_MAX; |
|
|
|
|