|
|
|
@ -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); |
|
|
|
|