|
|
@ -1361,10 +1361,11 @@ void UI_func_delay_level(uint8_t param) |
|
|
|
|
|
|
|
|
|
|
|
lcd_display_bar_int("Delay Lvl.", configuration.fx.delay_level[selected_instance_id], 1.0, DELAY_LEVEL_MIN, DELAY_LEVEL_MAX, 3, false, false, false); |
|
|
|
lcd_display_bar_int("Delay Lvl.", configuration.fx.delay_level[selected_instance_id], 1.0, DELAY_LEVEL_MIN, DELAY_LEVEL_MAX, 3, false, false, false); |
|
|
|
|
|
|
|
|
|
|
|
if (configuration.fx.delay_level[selected_instance_id] <= DELAY_LEVEL_MIN) |
|
|
|
/*if (configuration.fx.delay_level[selected_instance_id] <= DELAY_LEVEL_MIN)
|
|
|
|
delay_fx[selected_instance_id]->disable(0); |
|
|
|
delay_fx[selected_instance_id]->disable(0); |
|
|
|
else |
|
|
|
else |
|
|
|
delay_fx[selected_instance_id]->delay(0, constrain(configuration.fx.delay_time[selected_instance_id], DELAY_TIME_MIN, DELAY_TIME_MAX) * 10); |
|
|
|
delay_fx[selected_instance_id]->delay(0, constrain(configuration.fx.delay_time[selected_instance_id], DELAY_TIME_MIN, DELAY_TIME_MAX) * 10); */ |
|
|
|
|
|
|
|
delay_mixer[selected_instance_id]->gain(1, pseudo_log_curve(mapfloat(configuration.fx.delay_level[selected_instance_id], DELAY_LEVEL_MIN, DELAY_LEVEL_MAX, 0.0, 1.0))); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|