.ch1 samples stop working in compiled VSTi (did i miss something?)
-
Hey there the VSTi is done and we finally send it to testers now.
We are encountering an issue after wav to monolith conversion not showing on compiled VSTi - i may have misunderstood the concept here :)
We have 3 expansions containing around 150 .ch1 files + Samplemaps that get installed to AppData:
'/Users/julian/Library/Application Support/Prototype Audio/Fraction/Expansions/Pro-Essentials/Samples/Phase Shift Pad.ch1'
How my samplemaps look after converting in project folder (then moving into expansion):
<?xml version="1.0" encoding="UTF-8"?> <samplemap CrossfadeGamma="1.0" ID="Fifty Keys" RRGroupAmount="1.0" MicPositions=";" SaveMode="2"> <sample Root="24" LoKey="24" HiKey="24" LoVel="0" HiVel="127" RRGroup="1" FileName="{EXP::Pro-Essentials}Keys/Fifty Keys/modular-60 - Track 1.wav" Duplicate="0" Volume="0" SampleEnd="911357" MonolithOffset="0" MonolithLength="913408" SampleRate="48000.0"/> <sample Root="25" LoKey="25" HiKey="25" LoVel="0" HiVel="127" RRGroup="1" FileName="{EXP::Pro-Essentials}Keys/Fifty Keys/modular-60 - Track 2.wav" Duplicate="0" Volume="0" SampleEnd="911357" MonolithOffset="913408" MonolithLength="913408" SampleRate="48000.0"/> //a lot more </samplemap>
The .ch1 files seems to work well in HISE - but after the export no sound at all (all samplemaps do load tho)
Any steps that i am missing to make this work? :)
-
S Straticah marked this topic as a question
-
@Straticah We do not use the HR Archive and have
HISE_DEACTIVATE_OVERLAY=1
We copy .ch1 files manually to/Users/julian/Library/Application Support/Prototype Audio/Fraction/Expansions/Pro-Essentials/Samples/Phase Shift Pad.ch1
Is that part of the issue?
-
@Straticah Could be MAC related it seems? FL Studio User on WIN confirms this exact setup it is working.
-
@Straticah have you checked the global app data box in project preferences?
-
@d-healey I noticed this when just watching an old tutorial of yours. It is not checked
What does it do - compiling it rn. Wav based expansions worked fine while this was disabled. -
@d-healey Compiled it with checkmarks enabled. Now it does not find the samplemaps anymore and also the buttons that should open expansion fodler does not work anymore.
I assume the checkmarks are inverted?
-
@Straticah said in .ch1 samples stop working in compiled VSTi (did i miss something?):
What does it do
It screws things up, so don't use it
I'm sure it has some use case, but I don't know what it is.
How are you creating the LinkOSX file?
-
@d-healey Haha i just experienced that :)
Back to unchecked now!
The current flow is like that:
- VST3 gets installed to default location
- User opens VST - Dialog hat opens Expansion folder
- User places Expansion in this folder - restart
paths:
/Users/julian/Library/Application Support/Prototype Audio/Fraction/Expansions/Pro-Essentials/Samples/Phase Shift Pad.ch1
This has been working with sample based expansions so far.
I assume the HR archive creates the LinkOSX file usually?
And then it can be changed with the Settings panel?So when its missing HISE does not know where to look for samples.
This could actually be the issue its very likely. (why it worked before is not clear tho) -
@Straticah Yes you need to create a LinkOSX file (and LinkWindows on Windows) within the expansion's Samples folder inside AppData that points to the location of the samples. Also it's not a good idea to force the user to put all the samples in AppData, especially if you have a lot of samples.
-
S Straticah has marked this topic as solved
-
@d-healey This kind of solves two things at the same time then :) thanks!
I hope this thread will be helpful to others who have the same issue.
-
@d-healey How do i know which paths work and which do not work? (because some did not work at least for me)
-
@Straticah could you give me more context?
-
@d-healey Honestly the expansions only worked without issues when set to AppData folder:
This custom path did not work on my mac expansions.
I have a couple questions:
- Does this "Locate Samples" menu work with expanions?
- We use expansion only - so i assume custom path looks for all exp. content?
- What is the "recommended way" of installing & moving expansions on user side?
Thank you in advance i should probably know more about expansions but i have worked with "baked in" samplemaps most of the time and this is new for me :)
-
@Straticah said in .ch1 samples stop working in compiled VSTi (did i miss something?):
Does this "Locate Samples" menu work with expanions?
I'm not sure, it's been a long time since I used expansions. I think each expansion has its own Samples folder and own Link file.
-
S Straticah has marked this topic as unsolved
-
@d-healey This would make sense, but i have not found anything that confirms that.
If anybody can shine some light on how users can install/move expansions, this would help a ton.
-
@Straticah I just checked with Rhapsody and each expansion does have its own Samples folder. I'm not using the encrypted expansions with Rhapsody but I suspect it will be the same.
-
@d-healey Okay that makes sense - where/how does Rhapsody store and recall the locations of the users Expansion Samples? Is it custom or is HISE doing it via the the startup "overlay"?
-
@Straticah There's a link file in each expansion's Samples folder that points to the location of the samples. I create the link file as part of my expansion install process, I also have scripted a system to allow the user to update it if they move the samples to another location.
-
@d-healey I think it also looks automatically in the global sample folder when the monolith can‘t be found in the expansion folder but it‘s also been ages that I‘ve used this myself.
I definitely tried to offer both sample location possibilities so you can decide whats more convenient for you.
-
@Christoph-Hart Okay i will try to utilize the linker files and set path with them.
If it does not work maybe i can still read it and override HISE expansion search path via API.
If you have examples on how to set a custom expansion path for HISE lmk.
Will look into Rhapsody path handling aswell. @d-healey