Absolute Samples - Windows 11
-
Hi everybody!
I'm currently trying to export my plugin but I've realised that I've been using the wrong directory for sample files (Documents folder instead of HISE Samples), is there a way I can batch fix this? Really hoping to avoid starting from scratch.
-
@l4ch Yea you can write a bash script to fix this. First move your samples to your project's samples directory. Then open one of your samplemaps and observe the directory structure it currently has. I'll just assume you have a folder on your desktop with your samples as an example:
"Users/username/Desktop/AudioSamplesFolder/SampleName.wav"To fix it, you will need to structure like this:
"{PROJECT_FOLDER}SampleName.wav"You could test this first by making a new samplemap.
So all you need to do is generate a bash script that changes your old sample path to the new one (simple enough to vibecode).
-
@HISEnberg Thank you! I'll give this a try.
-
@HISEnberg said in Absolute Samples - Windows 11:
Yea you can write a bash script to fix this.
Seems like overkill unless you have a lot of sample maps. You can open the xml in a text editor and use find/replace.
-
@David-Healey I had about 16, I just automated the find/replace in VScode and it worked really well. Thank you for the videos on exporting plugins, went back and followed them to the letter and they worked perfectly.