@ -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 ) ;
/* 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 ) ;
/*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,9 +816,15 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue)
MicroDexed [ instance_id ] - > notesOff ( ) ;
break ;
case 126 :
if ( inValue > 0 )
MicroDexed [ instance_id ] - > setMonoMode ( true ) ;
else
MicroDexed [ instance_id ] - > setMonoMode ( false ) ;
break ;
case 127 :
if ( inValue > 0 )
MicroDexed [ instance_id ] - > setMonoMode ( true ) ;
else
MicroDexed [ instance_id ] - > setMonoMode ( false ) ;
break ;
}