save sample map via interface?
-
I dont know how to word this so I'll try my best lol
I have a panel & when I add a wav file it populates in a sampler(samplemap), right...
that works fine, but im not able to save the sample map or when I save the preset and go back to it the wav file is gone... its not saving... how can I fix this?
Im working on a "oneshot" type plugin and the sampler works better than the loop player imo because the fade options, thats why im wanting to use the sampler.
-
@BWSounds
I did not try it but found this. Maybe this is what you are looking for:Sampler.saveCurrentSampleMap(String relativePathWithoutXml)
-
@Oli-Ullmann
I seen that, i'll test it in a compiled plugin but I dont think its going to work.
is it possible to x fade on the audio looper? -
yup, that won't work.
In there it tells you to store the sample map as base64 string in your project.
Also take a look at the custom sample import project in the HISE tutorial repo, this should be covered there too.
-
hise_tutorial/CustomSampleImport/Scripts/SampleLoadSave.js at master · christophhart/hise_tutorial
The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.
GitHub (github.com)
-
@Christoph-Hart
x-fading in the audio loop player is it possible some how at the moment?