diff --git a/MicroDexed.ino b/MicroDexed.ino index a20b028..f7cd558 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -96,13 +96,9 @@ AudioMixer<4> audio_thru_mixer_l; #if NUM_DRUMS > 0 //AudioPlayMemory* Drum[NUM_DRUMS]; AudioPlayArrayResmp* Drum[NUM_DRUMS]; -#if NUM_DRUMS < 5 -AudioMixer<4> drum_mixer_r; -AudioMixer<4> drum_mixer_l; -#else -AudioMixer<8> drum_mixer_r; -AudioMixer<8> drum_mixer_l; -#endif +AudioMixer drum_mixer_r; +AudioMixer drum_mixer_l; + #ifdef USE_FX #if NUM_DRUMS < 5 AudioMixer<4> drum_reverb_send_mixer_r; @@ -1916,6 +1912,14 @@ void check_configuration_fx(void) configuration.fx.delay_sync[instance_id] = constrain(configuration.fx.delay_sync[instance_id], DELAY_SYNC_MIN, DELAY_SYNC_MAX); configuration.fx.reverb_send[instance_id] = constrain(configuration.fx.reverb_send[instance_id], REVERB_SEND_MIN, REVERB_SEND_MAX); } + + configuration.fx.eq_1 = constrain(configuration.fx.eq_1, EQ_1_MIN, EQ_1_MAX); + configuration.fx.eq_2 = constrain(configuration.fx.eq_2, EQ_2_MIN, EQ_2_MAX); + configuration.fx.eq_3 = constrain(configuration.fx.eq_3, EQ_3_MIN, EQ_3_MAX); + configuration.fx.eq_4 = constrain(configuration.fx.eq_4, EQ_4_MIN, EQ_4_MAX); + configuration.fx.eq_5 = constrain(configuration.fx.eq_5, EQ_5_MIN, EQ_5_MAX); + configuration.fx.eq_6 = constrain(configuration.fx.eq_6, EQ_6_MIN, EQ_6_MAX); + configuration.fx.eq_7 = constrain(configuration.fx.eq_7, EQ_7_MIN, EQ_7_MAX); } void check_configuration_performance(void)