|
|
|
@ -7708,8 +7708,11 @@ void UI_func_eq_1(uint8_t param) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
lcd_display_meter_float("EQ 50Hz", configuration.fx.eq_1, 0.1, 0.0, EQ_1_MIN, EQ_1_MAX, 1, 1, false, true, true); |
|
|
|
|
sgtl5000.setEQGain(1, mapfloat(configuration.fx.eq_1, EQ_1_MIN, EQ_1_MAX, 0.0, 1.0)); |
|
|
|
|
sgtl5000.setEQGain(1, mapfloat(configuration.fx.eq_1, EQ_1_MIN, EQ_1_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.commitFilter(1); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
sgtl5000.show_params(1); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
@ -7753,8 +7756,11 @@ void UI_func_eq_2(uint8_t param) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
lcd_display_meter_float("EQ 120Hz", configuration.fx.eq_2, 0.1, 0.0, EQ_2_MIN, EQ_2_MAX, 1, 1, false, true, true); |
|
|
|
|
sgtl5000.setEQGain(2, mapfloat(configuration.fx.eq_2, EQ_2_MIN, EQ_2_MAX, 0.0, 1.0)); |
|
|
|
|
sgtl5000.setEQGain(2, mapfloat(configuration.fx.eq_2, EQ_2_MIN, EQ_2_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.commitFilter(2); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
sgtl5000.show_params(2); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
@ -7798,8 +7804,11 @@ void UI_func_eq_3(uint8_t param) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
lcd_display_meter_float("EQ 220Hz", configuration.fx.eq_3, 0.1, 0.0, EQ_3_MIN, EQ_3_MAX, 1, 1, false, true, true); |
|
|
|
|
sgtl5000.setEQGain(3, mapfloat(configuration.fx.eq_3, EQ_3_MIN, EQ_3_MAX, 0.0, 1.0)); |
|
|
|
|
sgtl5000.setEQGain(3, mapfloat(configuration.fx.eq_3, EQ_3_MIN, EQ_3_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.commitFilter(3); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
sgtl5000.show_params(3); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
@ -7843,8 +7852,11 @@ void UI_func_eq_4(uint8_t param) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
lcd_display_meter_float("EQ 1000Hz", configuration.fx.eq_4, 0.1, 0.0, EQ_4_MIN, EQ_4_MAX, 1, 1, false, true, true); |
|
|
|
|
sgtl5000.setEQGain(4, mapfloat(configuration.fx.eq_4, EQ_4_MIN, EQ_4_MAX, 0.0, 1.0)); |
|
|
|
|
sgtl5000.setEQGain(4, mapfloat(configuration.fx.eq_4, EQ_4_MIN, EQ_4_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.commitFilter(4); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
sgtl5000.show_params(4); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
@ -7888,8 +7900,11 @@ void UI_func_eq_5(uint8_t param) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
lcd_display_meter_float("EQ 2000Hz", configuration.fx.eq_5, 0.1, 0.0, EQ_5_MIN, EQ_5_MAX, 1, 1, false, true, true); |
|
|
|
|
sgtl5000.setEQGain(5, mapfloat(configuration.fx.eq_5, EQ_5_MIN, EQ_5_MAX, 0.0, 1.0)); |
|
|
|
|
sgtl5000.setEQGain(5, mapfloat(configuration.fx.eq_5, EQ_5_MIN, EQ_5_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.commitFilter(5); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
sgtl5000.show_params(5); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
@ -7933,8 +7948,11 @@ void UI_func_eq_6(uint8_t param) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
lcd_display_meter_float("EQ 7000Hz", configuration.fx.eq_6, 0.1, 0.0, EQ_6_MIN, EQ_6_MAX, 1, 1, false, true, true); |
|
|
|
|
sgtl5000.setEQGain(6, mapfloat(configuration.fx.eq_6, EQ_6_MIN, EQ_6_MAX, 0.0, 1.0)); |
|
|
|
|
sgtl5000.setEQGain(6, mapfloat(configuration.fx.eq_6, EQ_6_MIN, EQ_6_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.commitFilter(6); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
sgtl5000.show_params(1); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
@ -7980,6 +7998,9 @@ void UI_func_eq_7(uint8_t param) |
|
|
|
|
lcd_display_meter_float("EQ 10000Hz", configuration.fx.eq_7, 0.1, 0.0, EQ_7_MIN, EQ_7_MAX, 1, 1, false, true, true); |
|
|
|
|
sgtl5000.setEQGain(7, mapfloat(configuration.fx.eq_7, EQ_7_MIN, EQ_7_MAX, 0.0, 1.0)); |
|
|
|
|
sgtl5000.commitFilter(7); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
sgtl5000.show_params(7); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
|