when you want to go too fast ... you regret it quickly ^^
-
@d-healey
i have the latest scriptnode version. I chose custom in the hise parameter list then 12345678. when I go to encrypt in the sampler, I first have a success message, then the error I quoted above. you haven't set a encryption key yet -
@yall Why did you choose custom?
-
@d-healey I tried everything without really understanding we said that ^^ but I came back to encrypted. I just saw that my version of hise was 3 months old finally, I take the last one, I will try
-
@d-healey I just got there. so my end user I just have to give him the .hxi file, the sample folder and the user preset folder is that right?
-
@yall No, you just give them the .hr file(s)
-
@d-healey okay, well in any case that solved my problematic at first, the samples map are well hidden. :) I'll look after how to import the hr1 samples because I guess we still have to write a bunch of script ^^
-
we still have to write a bunch of script ^^
About 5 lines. Open a file browser for the user to select the .hr1 file, then run the installer function (can't remember the name of it but just search for installer in the API).
-
"ExpansionHandler.installExpansionFromPackage(var packageFile, var sampleDirectory)"
it seems to me that it is. remains to know how to use it now
@d-healey -
@yall That's the one.
packageFile
is the .hr1 andsampleDirectory
is the place you want to put the samples. You need to use the FileSystem api to get the file and directory, you can use file browsers to prompt the user to select them.Here's an example that uses two nested file browser calls. You could put this in a button callback for example. You can also use the global sample directory if you wish, in which case you don't need the second file browser.
reg hr; FileSystem.browse("", false, "", function(result) { hr = result; FileSystem.browseForDirectory("", function(dir) { expHandler.installExpansionFromPackage(hr, dir); }); });
-
thank you very much I will look at all this tomorrow, I have already made good progress today;)