Where does a compiled plugin find the sample maps?
-
@d-healey Ok, that's strange, because then it doesn't work at all.
-
@Consint Inside the Samples folder within the app data folder?
-
@d-healey Yes: home/username/.config/company/plugin/Samples/LinkLinux
And if I put it here: home/username/.config/company/plugin/LinkLinux
then it works with the curiosities described above. -
I tried the whole thing again in a new project and got the same result. If I put the LinkLinux file directly into the appdata folder (see first screenshot), the plugin creates a new folder at the specified path, whereby the last character of the folder name is a line break. If I then copy the samples into this folder, the plugin finds them and can play them without errors.
However, if I move the LinkLinux file to the appdata/Samples folder (see second screenshot), nothing happens and the plugin does not play any samples.
Does anyone have an idea what is going on here or what else I can try?
-
@Consint not really sure what your problem is?
HISE requires the path to the sample files it is supposed to use:
on windows this is the LinkWindows file and is located in the folder:
c:\Users<user name>\AppData\Roaming<companyname><productname>
on MacOs the file is LinkOSX and is in:
~/User/username/Library/Application Support/Company name/productname
(I think this is right I can never remember unless Im on the Mac)
on Linux its LinkLinux and is in the location David outlined above .. is it not there?
-
@Lindon Thank you for your answer. My first irritation is that @d-healey says the LinkLinux file must be in the samples subfolder in the appdata directory. But that doesn't work and doesn't match the paths you gave for Windows and Mac.
My second irritation is that if I put the LinkLinux file directly into the appdata directory, my plugin does not search for the samples directly in the path specified there, but creates a new folder with a strange name (line break at the end) and I then have to put the samples into this folder for everything to work.
Maybe I have to deal with the fact that Hise creates such a strange folder even if the line break in the folder name will certainly cause problems in the future development...
-
Which distro are you using?
-
@d-healey Ubuntu Budgie 22.04
-
@Consint Hmm it could be something related to your OS but I'm not sure.
-
@d-healey Yes, maybe. For the final compilation I'll install an older system anyway and then write again if I have the problem there too. Thanks for the support!
-
@d-healey is the same priciple for for Mac? If so, How I should named for mac?
-
@djalexx1 Yes, LinkOSX.
-
@Consint In case others have the same problem: If I set the sample location via FloatingTile - CustomSettings, everything works perfectly.