Sample player plugin not making sound
-
@pcs800 said in Sample player plugin not making sound:
Everything in the Hise/project/compiled folder gets put here C:\Program Files\Common Files\VST3\
You should only be putting the .vst3 file in there
-
@d-healey Just the vst3 file itself, or the vst3 folder and it's contents?
So not the shared code folder? -
@pcs800 said in Sample player plugin not making sound:
@d-healey
I am at a loss as to why my installed plugin doesn't make any sound. I have changed directories, stopped using wildcards and rebuilt the installer with inno setup several times. No sound.Everything in the Hise/project/compiled folder gets put here C:\Program Files\Common Files\VST3\Product name
Everyting in the project appdata folder including LinkWindows, gets put here {userappdata}\Acoustica\Product Name\Is "Acoustica" the name you have used for Company in the Setting/User Settings panel?
Samples are being placed here C:\Program Files\Product name\Samples\
The LinkWindows file contains the following "C:\Program Files\Product name\Samples
Yet when I open the plugin after installing, it asks for the location of the samples. So I choose the folder C:\Program Files\Product name\Samples\
So its not reading this LinkWindows file...its looking somewhere else...
It then says it found the samples but I need to restart the plugin to make it work.
I restart it, no sound. -
@pcs800 said in Sample player plugin not making sound:
Just the vst3 file itself, or the vst3 folder
What do you mean by VST3 folder? On Windows it should just be a file.
-
@d-healey a lot of vst3s live inside of a folder by the same name under the vst3 folder. You can do it either way
-
@Lindon when it presented me with the message to either extract or browse for a folder which contains the samples, I chose to browse for the folder. The folder where I know the samples are because I looked. It accepted that folder but still doesn't make any sound. Could this be something related to the sample module or MIDI velocity settings Within hise?
To sort of answer my own question, on the development machine, when I export to vst3, then I copy the vst3 to the windows vst3 folder, then bring the plug-in up in a daw, it works just fine
-
@pcs800 said in Sample player plugin not making sound:
lot of vst3s live inside of a folder by the same name under the vst3 folder. You can do it either way
Are you referring to vst3 bundles, where the .vst3 extension is applied to a folder? Or are you referring to placing the .vst3 plugin into a subfolder?
Bundles on Windows are available only available with JUCE if you build using cmake instead of Projucer, but HISE doesn't support this... yet.
@pcs800 said in Sample player plugin not making sound:
The folder where I know the samples are because I looked. It accepted that folder but still doesn't make any sound.
After doing that did you open the linkwindows file in a text editor to confirm the correct location had been written to the file?
On your development machine, are the samples in the project's Samples folder? And have you converted them to monoliths, .ch files?
-
@d-healey said in Sample player plugin not making sound:
After doing that did you open the linkwindows file in a text editor to confirm the correct location had been written to the file?
Yes I have
@d-healey said in Sample player plugin not making sound:
On your development machine, are the samples in the project's Samples folder? And have you converted them to monoliths, .ch files?
No, is that necessary?
-
@d-healey The installer just installs wav files in the samples folder I have defined. Will that not work?
-
@pcs800 said in Sample player plugin not making sound:
No, is that necessary?
It's necessary to put the samples in the project's Samples folder - otherwise the sample maps will contain absolute paths.
I don't know if it's necessary to convert them to monoliths, but you should probably do this as it will reduce disk usage.
-
@d-healey
Ok but that doesn't seem to be the issue here.
Once I get the plugin onto another computer, it asks me where the sample folder is, which i point it out, and it accepts it. But it's silent.@d-healey said in Sample player plugin not making sound:
It's necessary to put the samples in the project's Samples folder - otherwise the sample maps will contain absolute paths
Sample folder on the dev machine? So if i imported samples to the project from some other folder, like C:\some folder\samples. That somehow messes up the project? Do I need to put them in the project samples folder on the dev machine, and then re-import them to the sampler in the project?
-
@pcs800 said in Sample player plugin not making sound:
That somehow messes up the project?
Yes, because in your sample maps you will have absolute paths to that folder.
@pcs800 said in Sample player plugin not making sound:
Do I need to put them in the project samples folder on the dev machine
Yes
@pcs800 said in Sample player plugin not making sound:
and then re-import them to the sampler in the project?
This isn't necessary. Once you've moved the samples to the Samples folder. Open the sample map xmls in a text editor and replace the absolute path part with
{PROJECT_FOLDER}
for each of the samples.This is explained in the docs here.
-
@pcs800 said in Sample player plugin not making sound:
@Lindon when it presented me with the message to either extract or browse for a folder which contains the samples, I chose to browse for the folder. The folder where I know the samples are because I looked. It accepted that folder but still doesn't make any sound. Could this be something related to the sample module or MIDI velocity settings Within hise?
very very very unlikely.
To sort of answer my own question, on the development machine, when I export to vst3, then I copy the vst3 to the windows vst3 folder, then bring the plug-in up in a daw, it works just fine
..and this will work fine if you have (as David suggests) absolute paths in the sample maps, but on any other machine (that does not have the absolute path) it wont work
Meanwhile this doesn't answer the question I asked you:
Is "Acoustica" the name you have used for Company in the Setting/User Settings panel?
-
@d-healey said in Sample player plugin not making sound:
Open the sample map xmls in a text editor and replace the absolute path part with {PROJECT_FOLDER} for each of the samples.
In the project folder, there is a folder called samplemaps, it is empty. Is this where these xml files should be?
@Lindon said in Sample player plugin not making sound:
Is "Acoustica" the name you have used for Company in the Setting/User Settings panel?
I will check that once I get back to that machine. I am off on Thursdays and Fridays. But still learning hise on my own machine at home.
-
@pcs800 said in Sample player plugin not making sound:
. Is this where these xml files should be?
Yes, did you save your sample maps after mapping the samples?
-
@d-healey No, I did not know I had to do that. But now what I have done is copy the samples to the sample folder in the project folder, re-import them from there, then create a sample map called samplmap.xml
All the samples point here nowsample Root="28" LoKey="28" HiKey="28" LoVel="0" HiVel="127" RRGroup="1"
FileName="{PROJECT_FOLDER}1E1.wav" Duplicate="0"/Is this correct?
-
@pcs800 Looks good
-
@d-healey
Ok cool, now...
My inno setup is using sample source Documents\HISE Projects\project name\Samples* as the source.
Where do I have it place the samples?
Or, as we discussed before, it is my choice, which I define in the LinkWindows file?
And, if that is the case...
The LinkWindows file needs to be in "{userappdata}\Project name
Is that correct? -
@pcs800 I got it working!
So I will use what I've done so far in Hise, and inno, as templates for the other plugin I plan to build.
You're one heck of a help, d.healy