From 1a12be3ef5d389c4de99d5665ba4f6fde7d6236d Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sat, 23 Apr 2022 08:21:03 +0200 Subject: [PATCH] Fix for sustain handling. Handling has moved to Synth_Dexed library. --- MicroDexed.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MicroDexed.ino b/MicroDexed.ino index d250d06..b4f2649 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -1393,6 +1393,7 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue) break; case 64: MicroDexed[instance_id]->setSustain(inValue > 63); + /* if (!MicroDexed[instance_id]->getSustain()) { for (uint8_t note = 0; note < MicroDexed[instance_id]->getMaxNotes(); note++) @@ -1404,6 +1405,7 @@ void handleControlChange(byte inChannel, byte inCtrl, byte inValue) } } } + */ break; case 65: MicroDexed[instance_id]->setPortamentoMode(configuration.dexed[instance_id].portamento_mode, configuration.dexed[instance_id].portamento_glissando, configuration.dexed[instance_id].portamento_time);