|
|
@ -2069,7 +2069,7 @@ void UI_func_panorama(uint8_t param) |
|
|
|
if (configuration.sys.mono == 0) |
|
|
|
if (configuration.sys.mono == 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
lcd_display_meter_float("Panorama", configuration.dexed[selected_instance_id].pan, 0.05, -20.0, PANORAMA_MIN, PANORAMA_MAX, 1, 1, false, true, false); |
|
|
|
lcd_display_meter_float("Panorama", configuration.dexed[selected_instance_id].pan, 0.05, -20.0, PANORAMA_MIN, PANORAMA_MAX, 1, 1, false, true, false); |
|
|
|
mono2stereo[selected_instance_id]->panorama(mapfloat(configuration.dexed[selected_instance_id].pan, PANORAMA_MIN, PANORAMA_MAX, -1.0, 1.0)); |
|
|
|
mono2stereo[selected_instance_id]->panorama(mapfloat(configuration.dexed[selected_instance_id].pan, PANORAMA_MIN, PANORAMA_MAX, 1.0, -1.0)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -2220,7 +2220,7 @@ void UI_func_polyphony(uint8_t param) |
|
|
|
#if NUM_DEXED>1 |
|
|
|
#if NUM_DEXED>1 |
|
|
|
lcd_display_bar_int("Polyphony", configuration.dexed[selected_instance_id].polyphony, 1.0, POLYPHONY_MIN, POLYPHONY_MAX - configuration.dexed[(selected_instance_id + 1) % NUM_DEXED].polyphony, 2, false, false, true); |
|
|
|
lcd_display_bar_int("Polyphony", configuration.dexed[selected_instance_id].polyphony, 1.0, POLYPHONY_MIN, POLYPHONY_MAX - configuration.dexed[(selected_instance_id + 1) % NUM_DEXED].polyphony, 2, false, false, true); |
|
|
|
#else |
|
|
|
#else |
|
|
|
lcd_display_bar_int("Polyphony", configuration.dexed[selected_instance_id].polyphony, 1.0, POLYPHONY_MIN, POLYPHONY_MAX].polyphony, 2, false, false, true); |
|
|
|
lcd_display_bar_int("Polyphony", configuration.dexed[selected_instance_id].polyphony, 1.0, POLYPHONY_MIN, POLYPHONY_MAX, 2, false, false, true); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
lcd_active_instance_number(selected_instance_id); |
|
|
|
lcd_active_instance_number(selected_instance_id); |
|
|
|
UI_update_instance_icons(); |
|
|
|
UI_update_instance_icons(); |
|
|
|