|
|
|
@ -1322,16 +1322,6 @@ void init_configuration(void) |
|
|
|
|
configuration.dexed[instance_id].pan = PANORAMA_DEFAULT; |
|
|
|
|
configuration.dexed[instance_id].transpose = TRANSPOSE_DEFAULT; |
|
|
|
|
configuration.dexed[instance_id].tune = TUNE_DEFAULT; |
|
|
|
|
|
|
|
|
|
#if NUM_DEXED > 1 |
|
|
|
|
configuration.dexed[instance_id].polyphony = POLYPHONY_DEFAULT / 2; |
|
|
|
|
#else |
|
|
|
|
if (instance_id == 0) |
|
|
|
|
configuration.dexed[instance_id].polyphony = POLYPHONY_DEFAULT; |
|
|
|
|
else |
|
|
|
|
configuration.dexed[instance_id].polyphony = 0; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
configuration.dexed[instance_id].velocity_level = VELOCITY_LEVEL_DEFAULT; |
|
|
|
|
configuration.dexed[instance_id].engine = ENGINE_DEFAULT; |
|
|
|
|
configuration.dexed[instance_id].monopoly = MONOPOLY_DEFAULT; |
|
|
|
@ -1358,7 +1348,25 @@ void init_configuration(void) |
|
|
|
|
configuration.performance.bank[instance_id] = SYSEXBANK_DEFAULT; |
|
|
|
|
configuration.performance.voice[instance_id] = SYSEXSOUND_DEFAULT; |
|
|
|
|
|
|
|
|
|
#if NUM_DEXED > 1 |
|
|
|
|
configuration.dexed[instance_id].polyphony = POLYPHONY_DEFAULT / 2; |
|
|
|
|
#else |
|
|
|
|
if (instance_id == 0) |
|
|
|
|
{ |
|
|
|
|
configuration.dexed[instance_id].polyphony = POLYPHONY_DEFAULT; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
configuration.dexed[instance_id].polyphony = 0; |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if NUM_DEXED > 1 |
|
|
|
|
MicroDexed[instance_id]->controllers.refresh(); |
|
|
|
|
#else |
|
|
|
|
if (instance_id == 0) |
|
|
|
|
MicroDexed[instance_id]->controllers.refresh(); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set_volume(configuration.sys.vol, configuration.sys.mono); |
|
|
|
|