@ -669,12 +669,12 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue)
Serial . println ( F ( " BANK-SELECT MSB CC " ) ) ;
# endif
configuration . performance . bank [ instance_id ] = constrain ( ( inValue < < 7 ) & configuration . performance . bank [ instance_id ] , 0 , MAX_BANKS - 1 ) ;
load_sd_voice ( configuration . performance . bank [ instance_id ] , configuration . performance . voice [ instance_id ] , instance_id ) ;
if ( LCDML . FUNC_getID ( ) = = LCDML . OTHER_getIDFromFunction ( UI_func_voice_select ) )
{
/* load_sd_voice(configuration.performance.bank[instance_id], configuration.performance.voice[instance_id], instance_id);
if ( LCDML . FUNC_getID ( ) = = LCDML . OTHER_getIDFromFunction ( UI_func_voice_select ) )
{
LCDML . OTHER_updateFunc ( ) ;
LCDML . loop_menu ( ) ;
}
} */
break ;
case 1 :
# ifdef DEBUG
@ -731,12 +731,12 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue)
Serial . println ( F ( " BANK-SELECT LSB CC " ) ) ;
# endif
configuration . performance . bank [ instance_id ] = constrain ( inValue , 0 , MAX_BANKS - 1 ) ;
load_sd_voice ( configuration . performance . bank [ instance_id ] , configuration . performance . voice [ instance_id ] , instance_id ) ;
if ( LCDML . FUNC_getID ( ) = = LCDML . OTHER_getIDFromFunction ( UI_func_voice_select ) )
{
/*load_sd_voice(configuration.performance.bank[instance_id], configuration.performance.voice[instance_id], instance_id);
if ( LCDML . FUNC_getID ( ) = = LCDML . OTHER_getIDFromFunction ( UI_func_voice_select ) )
{
LCDML . OTHER_updateFunc ( ) ;
LCDML . loop_menu ( ) ;
}
} */
break ;
case 64 :
MicroDexed [ instance_id ] - > setSustain ( inValue > 63 ) ;
@ -816,10 +816,16 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue)
MicroDexed [ instance_id ] - > notesOff ( ) ;
break ;
case 126 :
MicroDexed [ instance_id ] - > setMonoMode ( true ) ;
if ( inValue > 0 )
MicroDexed [ instance_id ] - > setMonoMode ( true ) ;
else
MicroDexed [ instance_id ] - > setMonoMode ( false ) ;
break ;
case 127 :
MicroDexed [ instance_id ] - > setMonoMode ( false ) ;
if ( inValue > 0 )
MicroDexed [ instance_id ] - > setMonoMode ( true ) ;
else
MicroDexed [ instance_id ] - > setMonoMode ( false ) ;
break ;
}
}