Skip to content
Discussion options

You must be logged in to vote

Hi,
LittleFS is used for files on the ESP32 flash. To open files two sources are possible:

  • LittleFS (internal flash)
  • SDCard

To load files from littleFS you need the "ESP32 LittleFS Uploader". It will upload all files stored in the data folder.
Another option is to modify the function to use the SDCard as source instead of LittleFS:

  case 1:
       /*
        * load a single sample to all keys
        */
#if 0
       WavToSmpl_FileToSingleNote(FS_ID_LITTLEFS, "/PappRohrSample.wav", W2S_ALL_NOTES);
#else
       WavToSmpl_FileToSingleNote(FS_ID_SD_MMC, "/PappRohrSample.wav", W2S_ALL_NOTES);
#endif
       Sampler_InstrumentDone();
       break;

Hope this hleps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Magontek
Comment options

Answer selected by Magontek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants