|
|
@ -614,6 +614,7 @@ bool load_sd_voiceconfig_json(uint8_t vc, uint8_t instance_id) { |
|
|
|
configuration.dexed[instance_id].portamento_time = data_json["portamento_time"]; |
|
|
|
configuration.dexed[instance_id].portamento_time = data_json["portamento_time"]; |
|
|
|
configuration.dexed[instance_id].op_enabled = data_json["op_enabled"]; |
|
|
|
configuration.dexed[instance_id].op_enabled = data_json["op_enabled"]; |
|
|
|
configuration.dexed[instance_id].midi_channel = data_json["midi_channel"]; |
|
|
|
configuration.dexed[instance_id].midi_channel = data_json["midi_channel"]; |
|
|
|
|
|
|
|
configuration.dexed[instance_id].engine = data_json["engine"]; |
|
|
|
|
|
|
|
|
|
|
|
check_configuration_dexed(instance_id); |
|
|
|
check_configuration_dexed(instance_id); |
|
|
|
set_voiceconfig_params(instance_id); |
|
|
|
set_voiceconfig_params(instance_id); |
|
|
@ -695,6 +696,7 @@ bool save_sd_voiceconfig_json(uint8_t vc, uint8_t instance_id) { |
|
|
|
data_json["portamento_time"] = configuration.dexed[instance_id].portamento_time; |
|
|
|
data_json["portamento_time"] = configuration.dexed[instance_id].portamento_time; |
|
|
|
data_json["op_enabled"] = configuration.dexed[instance_id].op_enabled; |
|
|
|
data_json["op_enabled"] = configuration.dexed[instance_id].op_enabled; |
|
|
|
data_json["midi_channel"] = configuration.dexed[instance_id].midi_channel; |
|
|
|
data_json["midi_channel"] = configuration.dexed[instance_id].midi_channel; |
|
|
|
|
|
|
|
data_json["engine"] = configuration.dexed[instance_id].engine; |
|
|
|
|
|
|
|
|
|
|
|
#if defined(DEBUG) && defined(DEBUG_SHOW_JSON) |
|
|
|
#if defined(DEBUG) && defined(DEBUG_SHOW_JSON) |
|
|
|
Serial.println(F("Write JSON data:")); |
|
|
|
Serial.println(F("Write JSON data:")); |
|
|
|