|
|
@ -1329,6 +1329,8 @@ void check_configuration(void) |
|
|
|
configuration.sys.mono = constrain(configuration.sys.mono, MONO_MIN, MONO_MAX); |
|
|
|
configuration.sys.mono = constrain(configuration.sys.mono, MONO_MIN, MONO_MAX); |
|
|
|
configuration.sys.soft_midi_thru = constrain(configuration.sys.soft_midi_thru, SOFT_MIDI_THRU_MIN, SOFT_MIDI_THRU_MAX); |
|
|
|
configuration.sys.soft_midi_thru = constrain(configuration.sys.soft_midi_thru, SOFT_MIDI_THRU_MIN, SOFT_MIDI_THRU_MAX); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configuration.performance.fx_number = constrain(configuration.performance.fx_number, FX_NUM_MIN, FX_NUM_MAX); |
|
|
|
|
|
|
|
|
|
|
|
configuration.fx.reverb_roomsize = constrain(configuration.fx.reverb_roomsize, REVERB_ROOMSIZE_MIN, REVERB_ROOMSIZE_MAX); |
|
|
|
configuration.fx.reverb_roomsize = constrain(configuration.fx.reverb_roomsize, REVERB_ROOMSIZE_MIN, REVERB_ROOMSIZE_MAX); |
|
|
|
configuration.fx.reverb_damping = constrain(configuration.fx.reverb_damping, REVERB_DAMPING_MIN, REVERB_DAMPING_MAX); |
|
|
|
configuration.fx.reverb_damping = constrain(configuration.fx.reverb_damping, REVERB_DAMPING_MIN, REVERB_DAMPING_MAX); |
|
|
|
configuration.fx.reverb_level = constrain(configuration.fx.reverb_level, REVERB_LEVEL_MIN, REVERB_LEVEL_MAX); |
|
|
|
configuration.fx.reverb_level = constrain(configuration.fx.reverb_level, REVERB_LEVEL_MIN, REVERB_LEVEL_MAX); |
|
|
@ -1416,7 +1418,7 @@ void init_configuration(void) |
|
|
|
configuration.fx.delay_level = DELAY_LEVEL_DEFAULT; |
|
|
|
configuration.fx.delay_level = DELAY_LEVEL_DEFAULT; |
|
|
|
|
|
|
|
|
|
|
|
configuration.performance.checksum = 0xffff; |
|
|
|
configuration.performance.checksum = 0xffff; |
|
|
|
configuration.performance.fx_number = 0; |
|
|
|
configuration.performance.fx_number = FX_NUM_DEFAULT; |
|
|
|
|
|
|
|
|
|
|
|
for (uint8_t instance_id = 0; instance_id < NUM_DEXED; instance_id++) |
|
|
|
for (uint8_t instance_id = 0; instance_id < NUM_DEXED; instance_id++) |
|
|
|
{ |
|
|
|
{ |
|
|
|