|
|
|
@ -538,7 +538,7 @@ void encoder_right_up(void) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
switch (menu_state) |
|
|
|
@ -600,7 +600,7 @@ void encoder_right_down(void) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
switch (menu_state) |
|
|
|
@ -891,6 +891,8 @@ void lcdml_menu_display(void) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//####################################################################################################################################################################################################
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
|
MENU |
|
|
|
|
***********************************************************************/ |
|
|
|
@ -994,7 +996,7 @@ void UI_func_reverb_level(uint8_t param) |
|
|
|
|
#ifdef USE_REVERB |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1189,7 +1191,7 @@ void UI_func_chorus_level(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1326,7 +1328,7 @@ void UI_func_delay_level(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1375,7 +1377,7 @@ void UI_func_filter_cutoff(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1408,6 +1410,13 @@ void UI_func_filter_cutoff(uint8_t param) |
|
|
|
|
|
|
|
|
|
lcd.setCursor(0, 1); |
|
|
|
|
lcd_display_int(configuration.filter_cutoff[instance_id], 3, true, true, false); |
|
|
|
|
Serial.print(LCDML.FUNC_getID(),DEC); |
|
|
|
|
Serial.print(" "); |
|
|
|
|
Serial.print(MENU_ID_OF_INSTANCE_2,DEC); |
|
|
|
|
Serial.print(" INSTANCE: "); |
|
|
|
|
Serial.print(instance_id,DEC); |
|
|
|
|
Serial.print(" value: "); |
|
|
|
|
Serial.println(configuration.filter_cutoff[instance_id] / 100.0,3); |
|
|
|
|
|
|
|
|
|
MicroDexed[instance_id]->fx.Cutoff = configuration.filter_cutoff[instance_id] / 100.0; |
|
|
|
|
} |
|
|
|
@ -1423,7 +1432,7 @@ void UI_func_filter_resonance(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1471,7 +1480,7 @@ void UI_func_midi_channel(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1524,7 +1533,7 @@ void UI_func_loudness(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1572,7 +1581,7 @@ void UI_func_panorama(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1628,7 +1637,7 @@ void UI_func_stereo_mono(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1692,7 +1701,7 @@ void UI_func_polyphony(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1740,7 +1749,7 @@ void UI_func_engine(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1799,7 +1808,7 @@ void UI_func_mono_poly(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1855,7 +1864,7 @@ void UI_func_pb_range(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -1903,7 +1912,7 @@ void UI_func_pb_step(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
@ -2008,7 +2017,7 @@ void UI_func_voice_selection(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
@ -2075,7 +2084,7 @@ void UI_func_volume(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
uint8_t instance_id = 0; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_getID() > MENU_ID_OF_INSTANCE_2) |
|
|
|
|
if (LCDML.FUNC_getID() < MENU_ID_OF_INSTANCE_2) |
|
|
|
|
instance_id = 1; |
|
|
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
|