Where is the sample folder on Standalone and VST3 build?
-
i've searched through the forum but can't seem to find an answer about where to put the samples on a compiled plugin or standalone. it just keeps asking for the sample folder no matter how often I point it to the folder
I'd want to put the samples somewhere without the user having to select a folder using an installer program. has anyone done this successfully before? why wont the plugin accept my folder full of samples? why is this an unanswered question for over a year in some threads? it should be such a common thing
-
@Morphoice said in Where is the sample folder on Standalone and VST3 build?:
I'd want to put the samples somewhere without the user having to select a folder using an installer program.
You need to let the user choose where to put the samples. They might want to put them on an external drive, they might want them on their main drive, who knows. Only the user can decide.
@Morphoice said in Where is the sample folder on Standalone and VST3 build?:
why is this an unanswered question for over a year
Why did you post about it in 3 threads in one day
-
@d-healey sorry it's really driving me nuts that I cant get such a simple thing to work.... and letting the user chose well, it's just a few KB of 8 bit oneshots and single cycles, not really a huge orchestra library ;)
Also since the samples can't be obfuscated I wouldn't really want to point their attention to them in the first place
-
@Morphoice said in Where is the sample folder on Standalone and VST3 build?:
it's just a few KB of 8 bit oneshots
Ah in that case you could put it in the app data folder and add the link file to it manually. Putting the samples in the app data folder would be the job of your installer and creating the link file is something you could do from within HISE script.
-
@d-healey said in Where is the sample folder on Standalone and VST3 build?:
reating the link file is something you could do from within HISE script.
sounds good! does that work from the IDE during development or only in a finished build?
-
@Morphoice That's up to you, it can work from both or just one, whatever you want.
-
Your project is creating the Morphoice folder in app data (are you definitely looking the correct app data folder? There are two on MacOS). I also noticed in the project that you sent me you still have the Global App data folder enabled, I'd disable it unless you have some good reason to use it.
-
@d-healey what's the function to create that file? I cant find it in the doc
also that sounds helpful but the link is broken ;/
https://librewave.com/knowledge-base/sample-library-installation-guide/#Installing_the_samples -
@d-healey I shall disable it and test. The Morphoice folder exists and should be correct. There is an empty Expansions and User Presets folder in there which must have been created at some point, since I didn't do it manually
-
@Morphoice said in Where is the sample folder on Standalone and VST3 build?:
what's the function to create that file?
Settings.setSampleFolder();
Here's the updated link - https://librewave.com/knowledge-base/getting-started/installation-guide-legacy-products/?seq_no=2#how-to-install-the-samples
-
@d-healey said in Where is the sample folder on Standalone and VST3 build?:
Settings.setSampleFolder
great thanks. I recompiled it with the Global App Folder disabled, not the standalone starts and works, no Idea where it suddenly got the samples from as they're not yet in the Application Support folder lol
-
@Morphoice said in Where is the sample folder on Standalone and VST3 build?:
There is an empty Expansions and User Presets folder in there which must have been created at some point, since I didn't do it manually
If that folder has been created, it should be able to generate the linkOSX file. Something might be blocking the file creation (maybe it's specific to your computer).
-
@Morphoice said in Where is the sample folder on Standalone and VST3 build?:
I'd want to put the samples somewhere without the user having to select a folder using an installer program. has anyone done this successfully before?
Oh yeah, I do that with small libraries (less than 100MB). Just place the samples folder in Application Support/Your Company/Your Plugin, and also send the linkOSX file with the installer. The linkOSX file contains the location of the samples, such as: "Library/Application Support/Company/Plugin/Samples"
-
@bendurso yep it is now there, and pointing to something I had played around with this morning...
i edited it to point to the application support folder and it works. so basically all this is what the installer has to do and we should be fine! now even the IR from the convolution reverb got loaded correctly as I placed the AudioFiles folder into there aswell!thank you so much @bendurso & @d-healey, you are a gem.
Yesterday I didn't know shit, now I have a LinnDrum clone with fancy flashing pads and 8 bit grit <3 -
This post is deleted!