I’ve been working on some patches that can read/write audio files to a shared folder (which I think is a good way to be able to let patches interact without needing to run simultaneously, kinda like the OP-1 tape recorder).
I’ve been using the ‘folder_list’ external to find all the wav files at the relative path …/…/Samples (which will be a folder in the root of the USB drive if the patch is in the Patches folder.
The nested folder in 3.0+ complicate this a bit as the root of the USB drive could be any number of directories up.
I’m thinking of changing this so the samples folder is in the same folder as the patches (so you could have different sets of samples for different patch subfolders, this limits the sharing to patches in the same folder though and the samples folder will appear in the patch menu).
I could also try using an absolute path (though it might cause problems if using the internal SD card), or maybe I could keep trying to go up directories (like …/Samples,…/…/Samples …/…/…/Samples) trying to find a folder with wavs in it.
Wondering if anyone has any preferences or ideas. I’ll also be making on some abstractions that should make it easy to add this to other patches ( and I’ll probably add the ability to record or play shared audio to some older patches) .