|
|
@ -968,35 +968,35 @@ void handleSystemExclusive(byte * sysex, uint len) |
|
|
|
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); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 70: |
|
|
|
case 70: |
|
|
|
configuration.dexed[instance_id].mw_range = constrain(sysex[4], MW_RANGE_MIN, MW_RANGE_MIN); |
|
|
|
configuration.dexed[instance_id].mw_range = constrain(sysex[4], MW_RANGE_MIN, MW_RANGE_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.wheel.setRange(configuration.dexed[instance_id].mw_range); |
|
|
|
MicroDexed[instance_id]->controllers.wheel.setRange(configuration.dexed[instance_id].mw_range); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 71: |
|
|
|
case 71: |
|
|
|
configuration.dexed[instance_id].mw_assign = constrain(sysex[4], MW_ASSIGN_MIN, MW_ASSIGN_MIN); |
|
|
|
configuration.dexed[instance_id].mw_assign = constrain(sysex[4], MW_ASSIGN_MIN, MW_ASSIGN_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.wheel.setTarget(configuration.dexed[instance_id].mw_assign); |
|
|
|
MicroDexed[instance_id]->controllers.wheel.setTarget(configuration.dexed[instance_id].mw_assign); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 72: |
|
|
|
case 72: |
|
|
|
configuration.dexed[instance_id].fc_range = constrain(sysex[4], FC_RANGE_MIN, FC_RANGE_MIN); |
|
|
|
configuration.dexed[instance_id].fc_range = constrain(sysex[4], FC_RANGE_MIN, FC_RANGE_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.foot.setRange(configuration.dexed[instance_id].fc_range); |
|
|
|
MicroDexed[instance_id]->controllers.foot.setRange(configuration.dexed[instance_id].fc_range); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 73: |
|
|
|
case 73: |
|
|
|
configuration.dexed[instance_id].fc_assign = constrain(sysex[4], FC_ASSIGN_MIN, FC_ASSIGN_MIN); |
|
|
|
configuration.dexed[instance_id].fc_assign = constrain(sysex[4], FC_ASSIGN_MIN, FC_ASSIGN_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.foot.setTarget(configuration.dexed[instance_id].fc_assign); |
|
|
|
MicroDexed[instance_id]->controllers.foot.setTarget(configuration.dexed[instance_id].fc_assign); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 74: |
|
|
|
case 74: |
|
|
|
configuration.dexed[instance_id].bc_range = constrain(sysex[4], BC_RANGE_MIN, BC_RANGE_MIN); |
|
|
|
configuration.dexed[instance_id].bc_range = constrain(sysex[4], BC_RANGE_MIN, BC_RANGE_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.breath.setRange(configuration.dexed[instance_id].bc_range); |
|
|
|
MicroDexed[instance_id]->controllers.breath.setRange(configuration.dexed[instance_id].bc_range); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 75: |
|
|
|
case 75: |
|
|
|
configuration.dexed[instance_id].bc_assign = constrain(sysex[4], BC_ASSIGN_MIN, BC_ASSIGN_MIN); |
|
|
|
configuration.dexed[instance_id].bc_assign = constrain(sysex[4], BC_ASSIGN_MIN, BC_ASSIGN_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.breath.setTarget(configuration.dexed[instance_id].bc_assign); |
|
|
|
MicroDexed[instance_id]->controllers.breath.setTarget(configuration.dexed[instance_id].bc_assign); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 76: |
|
|
|
case 76: |
|
|
|
configuration.dexed[instance_id].at_range = constrain(sysex[4], AT_RANGE_MIN, AT_RANGE_MIN); |
|
|
|
configuration.dexed[instance_id].at_range = constrain(sysex[4], AT_RANGE_MIN, AT_RANGE_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.at.setRange(configuration.dexed[instance_id].at_range); |
|
|
|
MicroDexed[instance_id]->controllers.at.setRange(configuration.dexed[instance_id].at_range); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 77: |
|
|
|
case 77: |
|
|
|
configuration.dexed[instance_id].at_assign = constrain(sysex[4], AT_ASSIGN_MIN, AT_ASSIGN_MIN); |
|
|
|
configuration.dexed[instance_id].at_assign = constrain(sysex[4], AT_ASSIGN_MIN, AT_ASSIGN_MAX); |
|
|
|
MicroDexed[instance_id]->controllers.at.setTarget(configuration.dexed[instance_id].at_assign); |
|
|
|
MicroDexed[instance_id]->controllers.at.setTarget(configuration.dexed[instance_id].at_assign); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|