How to Relink Samples in HISE After Migrating from Windows to Mac?
-
Hello, I’m trying to migrate my projects from Windows to Mac and I don’t know how to route the samples in HISE so I don’t have to import them again. I’ve tried linking the new sample folder from the sample import window in the plugin itself, even with the hr1, but it doesn’t work. Does anyone know how I can do this? Thanks.
-
@lijas90 Keep your samples in the project's samples folder. If you're just bringing the project across for the purpose of compiling you don't need to include the samples.
-
@d-healeyI’ve tried importing the samples from the plugin itself using different paths (including the project’s own Samples folder) and it doesn’t work, there’s no sound. I don’t know if it has something to do with the hr1, or if the Windows path got saved and that’s why it can’t find the samples.
-
@lijas90 What paths do you see in the sample map when you open it in a text editor?
-
@d-healey
When I open the XML files, I can see the Windows paths. -
@lijas90 Do they include the {PROJECT_FOLDER} wildcard?
-
@d-healey In each XML? I don’t see it. This is an example:
<?xml version="1.0" encoding="UTF-8"?> <samplemap ID="PandeiroAG" RRGroupAmount="1.0" MicPositions=";" CrossfadeGamma="1.0"> <sample Root="45" LoKey="45" HiKey="45" LoVel="0" HiVel="40" RRGroup="1" FileName="C:\Program Files\Steinberg\VSTPlugins\Carmucha\Samples\Pandeiro\AGUDOS\1pPdei.wav" Duplicate="1" LoopXFade="0" LoopStart="24351" SampleStart="24351"/> </samplemap>
Or where should that wildcard go and what would it be used for? Thanks.
-
@lijas90 You need to place the samples in your project's Samples folder before you map them. That way the paths you see in the xml will use the wildcard instead of an absolute path and can be transferred to different systems.
-
@d-healey The samples are already in said folder. Do you mean that I should now overwrite the sample maps XML in Hise? Thanks.
-
@lijas90 You have to put them in the folder before you map them.
So now you have the choice, either you can remap them - which is what I would do if it's not too many samples.
Or you can edit the xml file to use the wildcard instead of the absolute path.