case0x79:// Reset All Controllers: it will reset all controllers to their default.
sustain=0;
reset_controllers();
muff=160.0f;
break;
}
case0x7b:// All Notes Off: mutes all sounding notes. Release time will still be maintained, and notes held by sustain will not turn off until sustain pedal is depressed.
stop_voices();
break;
case0x7e:// Mono Mode: sets device mode to Monophonic.
setMaxPolyphony(1);
break;
case0x7f:// Poly Mode: sets device mode to Polyphonic.