@ -2024,6 +2024,9 @@ void UI_func_mw_assign(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . mw_assign = constrain ( configuration . dexed [ instance_id ] . mw_assign - 1 , MW_ASSIGN_MIN , MW_ASSIGN_MAX ) ;
MicroDexed [ instance_id ] - > setMWController ( configuration . dexed [ instance_id ] . mw_range , configuration . dexed [ instance_id ] . mw_assign , configuration . dexed [ instance_id ] . mw_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . mw_assign )
{
@ -2052,9 +2055,6 @@ void UI_func_mw_assign(uint8_t param)
lcd . print ( F ( " [PTCH AMP EG-BS] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setMWController ( configuration . dexed [ instance_id ] . mw_range , configuration . dexed [ instance_id ] . mw_assign , configuration . dexed [ instance_id ] . mw_mode ) ;
}
}
if ( LCDML . FUNC_close ( ) ) // ****** STABLE END *********
@ -2091,6 +2091,9 @@ void UI_func_mw_mode(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . mw_mode = constrain ( configuration . dexed [ instance_id ] . mw_mode - 1 , MW_MODE_MIN , MW_MODE_MAX ) ;
MicroDexed [ instance_id ] - > setMWController ( configuration . dexed [ instance_id ] . mw_range , configuration . dexed [ instance_id ] . mw_assign , configuration . dexed [ instance_id ] . mw_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . mw_mode )
{
@ -2100,9 +2103,9 @@ void UI_func_mw_mode(uint8_t param)
case 1 :
lcd . print ( F ( " [REVERSE] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setMWController ( configuration . dexed [ instance_id ] . mw_range , configuration . dexed [ instance_id ] . mw_assign , configuration . dexed [ instance_id ] . mw_mode ) ;
case 2 :
lcd . print ( F ( " [SPECIAL] " ) ) ;
break ;
}
}
@ -2181,6 +2184,9 @@ void UI_func_fc_assign(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . fc_assign = constrain ( configuration . dexed [ instance_id ] . fc_assign - 1 , FC_ASSIGN_MIN , FC_ASSIGN_MAX ) ;
MicroDexed [ instance_id ] - > setFCController ( configuration . dexed [ instance_id ] . fc_range , configuration . dexed [ instance_id ] . fc_assign , configuration . dexed [ instance_id ] . fc_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . fc_assign )
{
@ -2209,9 +2215,6 @@ void UI_func_fc_assign(uint8_t param)
lcd . print ( F ( " [PTCH AMP EG-BS] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setFCController ( configuration . dexed [ instance_id ] . fc_range , configuration . dexed [ instance_id ] . fc_assign , configuration . dexed [ instance_id ] . fc_mode ) ;
}
}
if ( LCDML . FUNC_close ( ) ) // ****** STABLE END *********
@ -2248,6 +2251,9 @@ void UI_func_fc_mode(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . fc_mode = constrain ( configuration . dexed [ instance_id ] . fc_mode - 1 , FC_MODE_MIN , FC_MODE_MAX ) ;
MicroDexed [ instance_id ] - > setFCController ( configuration . dexed [ instance_id ] . fc_range , configuration . dexed [ instance_id ] . fc_assign , configuration . dexed [ instance_id ] . fc_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . fc_mode )
{
@ -2257,9 +2263,9 @@ void UI_func_fc_mode(uint8_t param)
case 1 :
lcd . print ( F ( " [REVERSE] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setFCController ( configuration . dexed [ instance_id ] . fc_range , configuration . dexed [ instance_id ] . fc_assign , configuration . dexed [ instance_id ] . fc_mode ) ;
case 2 :
lcd . print ( F ( " [SPECIAL] " ) ) ;
break ;
}
}
@ -2338,6 +2344,9 @@ void UI_func_bc_assign(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . bc_assign = constrain ( configuration . dexed [ instance_id ] . bc_assign - 1 , BC_ASSIGN_MIN , BC_ASSIGN_MAX ) ;
MicroDexed [ instance_id ] - > setBCController ( configuration . dexed [ instance_id ] . bc_range , configuration . dexed [ instance_id ] . bc_assign , configuration . dexed [ instance_id ] . bc_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . bc_assign )
{
@ -2366,9 +2375,6 @@ void UI_func_bc_assign(uint8_t param)
lcd . print ( F ( " [PTCH AMP EG-BS] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setBCController ( configuration . dexed [ instance_id ] . bc_range , configuration . dexed [ instance_id ] . bc_assign , configuration . dexed [ instance_id ] . bc_mode ) ;
}
}
if ( LCDML . FUNC_close ( ) ) // ****** STABLE END *********
@ -2405,6 +2411,9 @@ void UI_func_bc_mode(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . bc_mode = constrain ( configuration . dexed [ instance_id ] . bc_mode - 1 , BC_MODE_MIN , BC_MODE_MAX ) ;
MicroDexed [ instance_id ] - > setBCController ( configuration . dexed [ instance_id ] . bc_range , configuration . dexed [ instance_id ] . bc_assign , configuration . dexed [ instance_id ] . bc_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . bc_mode )
{
@ -2414,9 +2423,9 @@ void UI_func_bc_mode(uint8_t param)
case 1 :
lcd . print ( F ( " [REVERSE] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setBCController ( configuration . dexed [ instance_id ] . bc_range , configuration . dexed [ instance_id ] . bc_assign , configuration . dexed [ instance_id ] . bc_mode ) ;
case 2 :
lcd . print ( F ( " [SPECIAL] " ) ) ;
break ;
}
}
@ -2495,6 +2504,9 @@ void UI_func_at_assign(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . at_assign = constrain ( configuration . dexed [ instance_id ] . at_assign - 1 , AT_ASSIGN_MIN , AT_ASSIGN_MAX ) ;
MicroDexed [ instance_id ] - > setATController ( configuration . dexed [ instance_id ] . at_range , configuration . dexed [ instance_id ] . at_assign , configuration . dexed [ instance_id ] . at_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . at_assign )
{
@ -2523,9 +2535,6 @@ void UI_func_at_assign(uint8_t param)
lcd . print ( F ( " [PTCH AMP EG-BS] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setATController ( configuration . dexed [ instance_id ] . at_range , configuration . dexed [ instance_id ] . at_assign , configuration . dexed [ instance_id ] . at_mode ) ;
}
}
if ( LCDML . FUNC_close ( ) ) // ****** STABLE END *********
@ -2562,6 +2571,9 @@ void UI_func_at_mode(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . at_mode = constrain ( configuration . dexed [ instance_id ] . at_mode - 1 , AT_MODE_MIN , AT_MODE_MAX ) ;
MicroDexed [ instance_id ] - > setATController ( configuration . dexed [ instance_id ] . at_range , configuration . dexed [ instance_id ] . at_assign , configuration . dexed [ instance_id ] . at_mode ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . at_mode )
{
@ -2571,9 +2583,9 @@ void UI_func_at_mode(uint8_t param)
case 1 :
lcd . print ( F ( " [REVERSE] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setATController ( configuration . dexed [ instance_id ] . at_range , configuration . dexed [ instance_id ] . at_assign , configuration . dexed [ instance_id ] . at_mode ) ;
case 2 :
lcd . print ( F ( " [SPECIAL] " ) ) ;
break ;
}
}
@ -2611,6 +2623,9 @@ void UI_func_portamento_mode(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . portamento_mode = constrain ( configuration . dexed [ instance_id ] . portamento_mode - 1 , PORTAMENTO_MODE_MIN , PORTAMENTO_MODE_MAX ) ;
MicroDexed [ instance_id ] - > setPortamentoMode ( configuration . dexed [ instance_id ] . portamento_mode , configuration . dexed [ instance_id ] . portamento_glissando , configuration . dexed [ instance_id ] . portamento_time ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . portamento_mode )
{
@ -2627,9 +2642,6 @@ void UI_func_portamento_mode(uint8_t param)
lcd . print ( F ( " [FULL ] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setPortamentoMode ( configuration . dexed [ instance_id ] . portamento_mode , configuration . dexed [ instance_id ] . portamento_glissando , configuration . dexed [ instance_id ] . portamento_time ) ;
}
}
if ( LCDML . FUNC_close ( ) ) // ****** STABLE END *********
@ -2666,6 +2678,9 @@ void UI_func_portamento_glissando(uint8_t param)
else if ( LCDML . BT_checkUp ( ) )
configuration . dexed [ instance_id ] . portamento_glissando = constrain ( configuration . dexed [ instance_id ] . portamento_glissando - 1 , PORTAMENTO_GLISSANDO_MIN , PORTAMENTO_GLISSANDO_MAX ) ;
MicroDexed [ instance_id ] - > setPortamentoMode ( configuration . dexed [ instance_id ] . portamento_mode , configuration . dexed [ instance_id ] . portamento_glissando , configuration . dexed [ instance_id ] . portamento_time ) ;
}
lcd . setCursor ( 0 , 1 ) ;
switch ( configuration . dexed [ instance_id ] . portamento_glissando )
{
@ -2676,9 +2691,6 @@ void UI_func_portamento_glissando(uint8_t param)
lcd . print ( F ( " [ON ] " ) ) ;
break ;
}
MicroDexed [ instance_id ] - > setPortamentoMode ( configuration . dexed [ instance_id ] . portamento_mode , configuration . dexed [ instance_id ] . portamento_glissando , configuration . dexed [ instance_id ] . portamento_time ) ;
}
}
if ( LCDML . FUNC_close ( ) ) // ****** STABLE END *********
@ -3036,6 +3048,7 @@ void UI_func_volume(uint8_t param)
if ( menu_state ! = MENU_VOLUME )
{
LCDML . DISP_clear ( ) ;
lcd_special_chars ( BLOCKBAR ) ;
lcd_display_bar_int ( " Volume " , configuration . vol , 1.0 , VOLUME_MIN , VOLUME_MAX , 3 , false , false , false , true ) ;
menu_state = MENU_VOLUME ;