Fix for sustain handling. Handling has moved to Synth_Dexed library.

dev
Holger Wirtz 3 years ago
parent 99904a2267
commit 1a12be3ef5
  1. 2
      MicroDexed.ino

@ -1393,6 +1393,7 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue)
break; break;
case 64: case 64:
MicroDexed[instance_id]->setSustain(inValue > 63); MicroDexed[instance_id]->setSustain(inValue > 63);
/*
if (!MicroDexed[instance_id]->getSustain()) if (!MicroDexed[instance_id]->getSustain())
{ {
for (uint8_t note = 0; note < MicroDexed[instance_id]->getMaxNotes(); note++) for (uint8_t note = 0; note < MicroDexed[instance_id]->getMaxNotes(); note++)
@ -1404,6 +1405,7 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue)
} }
} }
} }
*/
break; break;
case 65: case 65:
MicroDexed[instance_id]->setPortamentoMode(configuration.dexed[instance_id].portamento_mode, configuration.dexed[instance_id].portamento_glissando, configuration.dexed[instance_id].portamento_time); MicroDexed[instance_id]->setPortamentoMode(configuration.dexed[instance_id].portamento_mode, configuration.dexed[instance_id].portamento_glissando, configuration.dexed[instance_id].portamento_time);

Loading…
Cancel
Save