diff --git a/MicroDexed.ino b/MicroDexed.ino index 75bc7d8..63c7eca 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -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 diff --git a/UI.hpp b/UI.hpp index f6a44ab..3157c68 100644 --- a/UI.hpp +++ b/UI.hpp @@ -6311,6 +6311,7 @@ void save_favorite(uint8_t b, uint8_t v, uint8_t instance_id) if (!SD.exists(tmp)) { //create Favorite Semaphore + SD.mkdir(tmp); myFav = SD.open(tmp, FILE_WRITE); myFav.close(); Serial.println("Favorite saved..."); diff --git a/config.h b/config.h index 22ec61b..e006e0f 100644 --- a/config.h +++ b/config.h @@ -59,7 +59,7 @@ // sed -i.orig 's/^#define USB_MIDI_SYSEX_MAX 290/#define USB_MIDI_SYSEX_MAX 4104/' /usr/local/arduino-teensy/hardware/teensy/avr/cores/teensy4/usb_midi.h //#define USB_MIDI_SYSEX_MAX 4104 -#define VERSION "1.0.19" +#define VERSION "1.1.0" //************************************************************************************************* //* DEVICE SETTINGS