when you want to go too fast ... you regret it quickly ^^
-
@yall unless I'm much mistaken the samplemaps dont show up in the delivered product -just the location pointing to the ch1 files...
-
Never delete your original recordings, never deleted your edited wav samples. If you need more disk space then buy more disks and compress to flac or another format.
@yall said in when you want to go too fast ... you regret it quickly ^^:
it possible to hide the paths in the sample map
I don't think so...
@Lindon said in when you want to go too fast ... you regret it quickly ^^:
@yall unless I'm much mistaken the samplemaps dont show up in the delivered product -just the location pointing to the ch1 files...
Yeah that's right, the sample maps are embedded in the binary.
-
-
@yall You should use the new expansion installer system that wraps the expansion folder into a single data file.
-
@d-healey so i tried, but i don't seem to really understand. I saw on the forum when christoph was talking about .hxi files but it is very vague for me
-
-
@d-healey get this error in i want to encode my expansion>
you have not yet defined an encryption key.
I put 12345678 in the parameters of the project.
I have to use EncryptionHandler.setEncryptionKey () ...
I don't really know what to do -
@yall
Are you using the latest version of HISE?
The.setEncryptionKey()
function is no longer required, just set the key in project properties.
Have you set the expansion type to Encrypted?
Also try resaving, closing, and reopening HISE after you set the expansion key. -
@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;)