|
|
|
@ -591,7 +591,7 @@ void setup() |
|
|
|
|
Serial.println(F("]")); |
|
|
|
|
Serial.print(F("Polyphony: ")); |
|
|
|
|
Serial.println(configuration.dexed[instance_id].polyphony, DEC); |
|
|
|
|
show_patch(instance_id); |
|
|
|
|
//show_patch(instance_id);
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Serial.print(F("AUDIO_BLOCK_SAMPLES=")); |
|
|
|
@ -1712,12 +1712,15 @@ void show_configuration(void) |
|
|
|
|
|
|
|
|
|
void show_patch(uint8_t instance_id) |
|
|
|
|
{ |
|
|
|
|
char voicename[VOICE_NAME_LEN]; |
|
|
|
|
char vn[VOICE_NAME_LEN]; |
|
|
|
|
|
|
|
|
|
if (instance_id < 0xFF) |
|
|
|
|
{ |
|
|
|
|
Serial.print(F("INSTANCE ")); |
|
|
|
|
Serial.println(instance_id, DEC); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
memset(voicename, 0, sizeof(voicename)); |
|
|
|
|
memset(vn, 0, sizeof(vn)); |
|
|
|
|
Serial.println(F("+==========================================================================================================+")); |
|
|
|
|
for (int8_t i = 5; i >= 0; --i) |
|
|
|
|
{ |
|
|
|
@ -1811,8 +1814,8 @@ void show_patch(uint8_t instance_id) |
|
|
|
|
Serial.print(F(" | ")); |
|
|
|
|
SerialPrintFormatInt3(MicroDexed[instance_id]->data[DEXED_VOICE_OFFSET + DEXED_LFO_PITCH_MOD_SENS]); |
|
|
|
|
Serial.print(F(" | ")); |
|
|
|
|
strncpy(voicename, (char *)&MicroDexed[instance_id]->data[DEXED_VOICE_OFFSET + DEXED_NAME], sizeof(voicename) - 1); |
|
|
|
|
Serial.print(voicename); |
|
|
|
|
strncpy(vn, (char *)&MicroDexed[instance_id]->data[DEXED_VOICE_OFFSET + DEXED_NAME], VOICE_NAME_LEN - 1); |
|
|
|
|
Serial.print(vn); |
|
|
|
|
Serial.println(F(" |")); |
|
|
|
|
Serial.println(F("+=========+=========+=========+=========+==========+==========+=========+==================================+")); |
|
|
|
|
Serial.println(F("+==========================================================================================================+")); |
|
|
|
|