|
|
@ -1093,9 +1093,11 @@ void initial_values_from_eeprom(void) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
configuration.checksum = 0xffff; |
|
|
|
configuration.checksum = 0xffff; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configuration.instances = INSTANCES_DEFAULT; |
|
|
|
|
|
|
|
configuration.instance_mode = INSTANCE_MODE_DEFAULT; |
|
|
|
|
|
|
|
configuration.instance_splitpoint = INSTANCE_SPLITPOINT_DEFAULT; |
|
|
|
configuration.vol = VOLUME_DEFAULT; |
|
|
|
configuration.vol = VOLUME_DEFAULT; |
|
|
|
configuration.mono = MONO_DEFAULT; |
|
|
|
configuration.mono = MONO_DEFAULT; |
|
|
|
|
|
|
|
|
|
|
|
configuration.reverb_roomsize = REVERB_ROOMSIZE_DEFAULT; |
|
|
|
configuration.reverb_roomsize = REVERB_ROOMSIZE_DEFAULT; |
|
|
|
configuration.reverb_damping = REVERB_DAMPING_DEFAULT; |
|
|
|
configuration.reverb_damping = REVERB_DAMPING_DEFAULT; |
|
|
|
configuration.chorus_frequency = CHORUS_FREQUENCY_DEFAULT; |
|
|
|
configuration.chorus_frequency = CHORUS_FREQUENCY_DEFAULT; |
|
|
@ -1220,44 +1222,48 @@ void show_configuration(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
Serial.println(); |
|
|
|
Serial.println(); |
|
|
|
Serial.println(F("CONFIGURATION:")); |
|
|
|
Serial.println(F("CONFIGURATION:")); |
|
|
|
Serial.print(F("Checksum 0x")); Serial.println(configuration.checksum, HEX); |
|
|
|
Serial.print(F("Checksum 0x")); Serial.println(configuration.checksum, HEX); |
|
|
|
Serial.print(F("Volume ")); Serial.println(configuration.vol, DEC); |
|
|
|
Serial.print(F("Instances ")); Serial.println(configuration.instances, DEC); |
|
|
|
Serial.print(F("Mono ")); Serial.println(configuration.mono, DEC); |
|
|
|
Serial.print(F("Instance Mode ")); Serial.println(configuration.instance_mode, DEC); |
|
|
|
Serial.print(F("Reverb Roomsize ")); Serial.println(configuration.reverb_roomsize, DEC); |
|
|
|
Serial.print(F("Instance Splitpoint ")); Serial.println(configuration.instance_splitpoint, DEC); |
|
|
|
Serial.print(F("Reverb Damping ")); Serial.println(configuration.reverb_damping, DEC); |
|
|
|
Serial.print(F("Volume ")); Serial.println(configuration.vol, DEC); |
|
|
|
Serial.print(F("Chorus Frequency ")); Serial.println(configuration.chorus_frequency, DEC); |
|
|
|
Serial.print(F("Mono ")); Serial.println(configuration.mono, DEC); |
|
|
|
Serial.print(F("Chorus Waveform ")); Serial.println(configuration.chorus_waveform, DEC); |
|
|
|
Serial.print(F("Reverb Roomsize ")); Serial.println(configuration.reverb_roomsize, DEC); |
|
|
|
Serial.print(F("Chorus Depth ")); Serial.println(configuration.chorus_depth, DEC); |
|
|
|
Serial.print(F("Reverb Damping ")); Serial.println(configuration.reverb_damping, DEC); |
|
|
|
Serial.print(F("Delay Time ")); Serial.println(configuration.delay_time, DEC); |
|
|
|
Serial.print(F("Chorus Frequency ")); Serial.println(configuration.chorus_frequency, DEC); |
|
|
|
Serial.print(F("Delay Feedback ")); Serial.println(configuration.delay_feedback, DEC); |
|
|
|
Serial.print(F("Chorus Waveform ")); Serial.println(configuration.chorus_waveform, DEC); |
|
|
|
|
|
|
|
Serial.print(F("Chorus Depth ")); Serial.println(configuration.chorus_depth, DEC); |
|
|
|
|
|
|
|
Serial.print(F("Delay Time ")); Serial.println(configuration.delay_time, DEC); |
|
|
|
|
|
|
|
Serial.print(F("Delay Feedback ")); Serial.println(configuration.delay_feedback, DEC); |
|
|
|
for (uint8_t i = 0; i < NUM_DEXED; i++) |
|
|
|
for (uint8_t i = 0; i < NUM_DEXED; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
|
Serial.print(F("DEXED Instance ")); |
|
|
|
Serial.print(F("=== DEXED Instance ")); |
|
|
|
Serial.println(i, DEC); |
|
|
|
Serial.print(i, DEC); |
|
|
|
Serial.print(F(" MIDI-Channel ")); Serial.println(configuration.midi_channel[i], DEC); |
|
|
|
Serial.println(" ==="); |
|
|
|
Serial.print(F(" Bank ")); Serial.println(configuration.bank[i], DEC); |
|
|
|
Serial.print(F(" MIDI-Channel ")); Serial.println(configuration.midi_channel[i], DEC); |
|
|
|
Serial.print(F(" Voice ")); Serial.println(configuration.voice[i], DEC); |
|
|
|
Serial.print(F(" Bank ")); Serial.println(configuration.bank[i], DEC); |
|
|
|
Serial.print(F(" Panorama ")); Serial.println(configuration.pan[i], DEC); |
|
|
|
Serial.print(F(" Voice ")); Serial.println(configuration.voice[i], DEC); |
|
|
|
Serial.print(F(" Chorus Level ")); Serial.println(configuration.chorus_level[i], DEC); |
|
|
|
Serial.print(F(" Panorama ")); Serial.println(configuration.pan[i], DEC); |
|
|
|
Serial.print(F(" Reverb Level ")); Serial.println(configuration.reverb_level[i], DEC); |
|
|
|
Serial.print(F(" Reverb Level ")); Serial.println(configuration.reverb_level[i], DEC); |
|
|
|
Serial.print(F(" Delay Level ")); Serial.println(configuration.delay_level[i], DEC); |
|
|
|
Serial.print(F(" Chorus Level ")); Serial.println(configuration.chorus_level[i], DEC); |
|
|
|
Serial.print(F(" Filter Cutoff ")); Serial.println(configuration.filter_cutoff[i], DEC); |
|
|
|
Serial.print(F(" Delay Level ")); Serial.println(configuration.delay_level[i], DEC); |
|
|
|
Serial.print(F(" Filter Resonance ")); Serial.println(configuration.filter_resonance[i], DEC); |
|
|
|
Serial.print(F(" Filter Cutoff ")); Serial.println(configuration.filter_cutoff[i], DEC); |
|
|
|
Serial.print(F(" Loudness ")); Serial.println(configuration.loudness[i], DEC); |
|
|
|
Serial.print(F(" Filter Resonance ")); Serial.println(configuration.filter_resonance[i], DEC); |
|
|
|
Serial.print(F(" Polyphony ")); Serial.println(configuration.polyphony[i], DEC); |
|
|
|
Serial.print(F(" Loudness ")); Serial.println(configuration.loudness[i], DEC); |
|
|
|
Serial.print(F(" Engine ")); Serial.println(configuration.engine[i], DEC); |
|
|
|
Serial.print(F(" Polyphony ")); Serial.println(configuration.polyphony[i], DEC); |
|
|
|
Serial.print(F(" Mono/Pol ")); Serial.println(configuration.monopoly[i], DEC); |
|
|
|
Serial.print(F(" Engine ")); Serial.println(configuration.engine[i], DEC); |
|
|
|
Serial.print(F(" Pitchbend Range ")); Serial.println(configuration.pb_range[i], DEC); |
|
|
|
Serial.print(F(" Mono/Poly ")); Serial.println(configuration.monopoly[i], DEC); |
|
|
|
Serial.print(F(" Pitchbend Step ")); Serial.println(configuration.pb_step[i], DEC); |
|
|
|
Serial.print(F(" Pitchbend Range ")); Serial.println(configuration.pb_range[i], DEC); |
|
|
|
Serial.print(F(" Modwheel Range ")); Serial.println(configuration.mw_range[i], DEC); |
|
|
|
Serial.print(F(" Pitchbend Step ")); Serial.println(configuration.pb_step[i], DEC); |
|
|
|
Serial.print(F(" Modwheel Assign ")); Serial.println(configuration.mw_assign[i], DEC); |
|
|
|
Serial.print(F(" Modwheel Range ")); Serial.println(configuration.mw_range[i], DEC); |
|
|
|
Serial.print(F(" Footctrl Range ")); Serial.println(configuration.fc_range[i], DEC); |
|
|
|
Serial.print(F(" Modwheel Assign ")); Serial.println(configuration.mw_assign[i], DEC); |
|
|
|
Serial.print(F(" Footctrl Assign ")); Serial.println(configuration.fc_assign[i], DEC); |
|
|
|
Serial.print(F(" Footctrl Range ")); Serial.println(configuration.fc_range[i], DEC); |
|
|
|
Serial.print(F(" BreathCtrl Range ")); Serial.println(configuration.bc_range[i], DEC); |
|
|
|
Serial.print(F(" Footctrl Assign ")); Serial.println(configuration.fc_assign[i], DEC); |
|
|
|
Serial.print(F(" Breathctrl Assign ")); Serial.println(configuration.bc_assign[i], DEC); |
|
|
|
Serial.print(F(" BreathCtrl Range ")); Serial.println(configuration.bc_range[i], DEC); |
|
|
|
Serial.print(F(" Aftertouch Range ")); Serial.println(configuration.at_range[i], DEC); |
|
|
|
Serial.print(F(" Breathctrl Assign ")); Serial.println(configuration.bc_assign[i], DEC); |
|
|
|
Serial.print(F(" Aftertouch Assign ")); Serial.println(configuration.at_assign[i], DEC); |
|
|
|
Serial.print(F(" Aftertouch Range ")); Serial.println(configuration.at_range[i], DEC); |
|
|
|
Serial.print(F(" OP Enabled ")); Serial.println(configuration.op_enabled[i], DEC); |
|
|
|
Serial.print(F(" Aftertouch Assign ")); Serial.println(configuration.at_assign[i], DEC); |
|
|
|
|
|
|
|
Serial.print(F(" OP Enabled ")); Serial.println(configuration.op_enabled[i], DEC); |
|
|
|
} |
|
|
|
} |
|
|
|
Serial.println(); |
|
|
|
Serial.println(); |
|
|
|
} |
|
|
|
} |
|
|
|