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