diff --git a/UI.hpp b/UI.hpp index befa34a..976adbd 100644 --- a/UI.hpp +++ b/UI.hpp @@ -1281,10 +1281,10 @@ void UI_func_delay_time(uint8_t param) { if (LCDML.BT_checkDown()) { configuration.fx.delay_time[selected_instance_id] = constrain(configuration.fx.delay_time[selected_instance_id] + ENCODER[ENC_R].speed(), DELAY_TIME_MIN, DELAY_TIME_MAX); MD_sendControlChange(configuration.dexed[selected_instance_id].midi_channel, 105, configuration.fx.delay_time[selected_instance_id]); + } else if (LCDML.BT_checkUp()) { + configuration.fx.delay_time[selected_instance_id] = constrain(configuration.fx.delay_time[selected_instance_id] - ENCODER[ENC_R].speed(), DELAY_TIME_MIN, DELAY_TIME_MAX); + MD_sendControlChange(configuration.dexed[selected_instance_id].midi_channel, 105, configuration.fx.delay_time[selected_instance_id]); } - } else if (LCDML.BT_checkUp()) { - configuration.fx.delay_time[selected_instance_id] = constrain(configuration.fx.delay_time[selected_instance_id] - ENCODER[ENC_R].speed(), DELAY_TIME_MIN, DELAY_TIME_MAX); - MD_sendControlChange(configuration.dexed[selected_instance_id].midi_channel, 105, configuration.fx.delay_time[selected_instance_id]); } #if NUM_DEXED > 1 @@ -1296,7 +1296,7 @@ void UI_func_delay_time(uint8_t param) { #endif #if DELAY_TIME_MAX >= 1000 - display_bar_int("Delay Time", configuration.fx.delay_time[selected_instance_id], 10.0, DELAY_TIME_MIN, DELAY_TIME_MAX, 45, false, false, true); + display_bar_int("Delay Time", configuration.fx.delay_time[selected_instance_id], 10.0, DELAY_TIME_MIN, DELAY_TIME_MAX, 5, false, false, true); #elif DELAY_TIME_MAX >= 100 display_bar_int("Delay Time", configuration.fx.delay_time[selected_instance_id], 10.0, DELAY_TIME_MIN, DELAY_TIME_MAX, 4, false, false, true); #else diff --git a/config.h b/config.h index 6357fcb..5d788fa 100644 --- a/config.h +++ b/config.h @@ -275,7 +275,7 @@ #define LED_BLINK_MS 1000 #define SAVE_SYS_MS 5000 #define VOL_MAX_FLOAT 0.95 -#define VOLUME_TRANSFORM_EXP 3.5 +#define VOLUME_TRANSFORM_EXP 2.5 #define EEPROM_MARKER 0x4243