HISE Logo Forum
    • Categories
    • Register
    • Login

    when you want to go too fast ... you regret it quickly ^^

    Scheduled Pinned Locked Moved General Questions
    19 Posts 3 Posters 565 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yall
      last edited by

      hello, I just finished a big sample and sample map folder ... around 60. I made the mistake of deleting my waves files once the monolith is created. I know that it is not possible to recover them from the monolith but in fact, I did a huge bullshit ^^
      when I created my folder, I called my samples and wave folder by name like> thing thing, polar bear, duck leg .... basically, I really put folder and sample names rotten complement. the problem is that if a future user opens a sample map with the notepad he may see that I insulted his mom or something like that as a path to the samples. It's a bit stupid anyway ^^ so is it possible to hide the paths in the sample map or to encrypt them? what i just did and really stupid lol

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @yall
        last edited by

        @yall unless I'm much mistaken the samplemaps dont show up in the delivered product -just the location pointing to the ch1 files...

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 1
        • d.healeyD
          d.healey
          last edited by d.healey

          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.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          1 Reply Last reply Reply Quote 0
          • Y
            yall
            last edited by

            @Lindon @d-healey I intend to use the expansions suddenly, I will provide the "mini project". so there will be the sample map, preset, sample ....

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @yall
              last edited by

              @yall You should use the new expansion installer system that wraps the expansion folder into a single data file.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              Y 1 Reply Last reply Reply Quote 0
              • Y
                yall @d.healey
                last edited by

                @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.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @yall
                  last edited by

                  @yall https://docs.hise.audio/working-with-hise/project-management/expansions/encrypted_expansion.html#implementation-/-steps-to-do

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • Y
                    yall
                    last edited by

                    @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

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @yall
                      last edited by d.healey

                      @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.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        yall
                        last edited by

                        @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

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @yall
                          last edited by

                          @yall Why did you choose custom?

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          1 Reply Last reply Reply Quote 0
                          • Y
                            yall @d.healey
                            last edited by

                            @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

                            1 Reply Last reply Reply Quote 0
                            • Y
                              yall
                              last edited by

                              @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?

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @yall
                                last edited by

                                @yall No, you just give them the .hr file(s)

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  yall
                                  last edited by

                                  @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 ^^

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @yall
                                    last edited by

                                    @yall

                                    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).

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    1 Reply Last reply Reply Quote 0
                                    • Y
                                      yall
                                      last edited by

                                      "ExpansionHandler.installExpansionFromPackage(var packageFile, var sampleDirectory)"

                                      it seems to me that it is. remains to know how to use it now
                                      @d-healey

                                      d.healeyD 1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @yall
                                        last edited by d.healey

                                        @yall That's the one. packageFile is the .hr1 and sampleDirectory 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);
                                               	});
                                        });
                                        

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        1 Reply Last reply Reply Quote 0
                                        • Y
                                          yall
                                          last edited by

                                          thank you very much I will look at all this tomorrow, I have already made good progress today;)

                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post

                                          26

                                          Online

                                          1.8k

                                          Users

                                          12.0k

                                          Topics

                                          104.4k

                                          Posts