|
|
|
@ -176,7 +176,7 @@ AudioConnection * dynamicConnections[NUM_DEXED * 5]; |
|
|
|
|
#endif |
|
|
|
|
void create_audio_engine_chain(uint8_t instance_id) |
|
|
|
|
{ |
|
|
|
|
MicroDexed[instance_id] = new AudioSynthDexed(MAX_VOICES,SAMPLE_RATE); |
|
|
|
|
MicroDexed[instance_id] = new AudioSynthDexed(MAX_VOICES, SAMPLE_RATE); |
|
|
|
|
mono2stereo[instance_id] = new AudioEffectMonoStereo(); |
|
|
|
|
#if defined(USE_FX) |
|
|
|
|
chorus_modulator[instance_id] = new AudioSynthWaveform(); |
|
|
|
@ -2225,16 +2225,18 @@ void check_and_create_directories(void) |
|
|
|
|
SD.mkdir(tmp); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
for (uint8_t i = 0; i < MAX_BANKS; i++) |
|
|
|
|
{ |
|
|
|
|
sprintf(tmp, "/%s/%d", FAV_CONFIG_PATH, i); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
Serial.print(F("Creating directory ")); |
|
|
|
|
Serial.println(tmp); |
|
|
|
|
#endif |
|
|
|
|
if (!SD.exists(tmp)) |
|
|
|
|
SD.mkdir(tmp); |
|
|
|
|
} |
|
|
|
|
/*
|
|
|
|
|
for (uint8_t i = 0; i < MAX_BANKS; i++) |
|
|
|
|
{ |
|
|
|
|
sprintf(tmp, "/%s/%d", FAV_CONFIG_PATH, i); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
Serial.print(F("Creating directory ")); |
|
|
|
|
Serial.println(tmp); |
|
|
|
|
#endif |
|
|
|
|
if (!SD.exists(tmp)) |
|
|
|
|
SD.mkdir(tmp); |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
} |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
else |
|
|
|
|