HISE Logo Forum
    • Categories
    • Register
    • Login

    Download issues (above 2GB?)

    Scheduled Pinned Locked Moved General Questions
    63 Posts 5 Posters 2.8k 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.
    • d.healeyD
      d.healey @DanH
      last edited by

      @DanH Yeah, it's all exactly the same, user chooses the location you download the ch files to there and you create a link file that points to that location.

      You can use the File API to create it. Something like this:

      local fileName = "Link";
      
      switch (Engine.getOS())
      {
          case "LINUX":
              fileName += "Linux";
              break;
          
          case "WIN":
              fileName += "Windows";
              break;
          
          case "OSX":
              fileName += "OSX";
              break;
      }
      
      linkFile = linkDir.getChildFile(fileName);
      
      FileSystem.browseForDirectory(FileSystem.Samples, function(dir)
      {
         linkFile.writeString(dir.toString(0));
      });
      

      You'll need to figure out what the linkDir is using the FileSystem API, starting from the appData folder (in fact it might be the appData folder, I can't remember).

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

      DanHD 1 Reply Last reply Reply Quote 0
      • DanHD
        DanH @d.healey
        last edited by DanH

        @d-healey

        user chooses the location you download the ch files

        Can the ch files be downloaded in a compressed format? And then uncompressed into the folder of choice? (I mean in a zip file to avoid downloading each ch file one at a time)

        You'll need to figure out what the linkDir is using the FileSystem API, starting from the appData folder (in fact it might be the appData folder, I can't remember).

        Do you mean where the link file is stored? Yes it's the appData folder

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

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

          @DanH

          Can the ch files be downloaded in a compressed format? And then uncompressed into the folder of choice?

          Not yet, but Christoph has indicated that he will be adding zip uncompression. For now you just have to download the ch files as they are - these are already compressed from wav.

          Do you mean where the link file is stored?

          Yes

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

          DanHD 1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @d.healey
            last edited by

            @d-healey

            For now you just have to download the ch files as they are

            All 300 😆

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

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

              @DanH You're doing something crazy again, I can feel it.

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

              DanHD ? 2 Replies Last reply Reply Quote 0
              • DanHD
                DanH @d.healey
                last edited by DanH

                @d-healey It's fine as long as you're here to set me straight.... 🚓

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

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

                  @DanH Why 300 sample maps?

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

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @d.healey
                    last edited by

                    @d-healey it's a synth rompler of sorts, but the samples are heavily processed already, and I made a lot of them

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @d.healey
                      last edited by

                      @d-healey said in Download issues (above 2GB?):

                      @DanH You're doing something crazy again, I can feel it.

                      😂😂😂

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

                        @DanH Are you mapping one sample per samplemap?

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

                        DanHD 1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @d.healey
                          last edited by

                          @d-healey 3 octaves of samples per sample map (although plenty have been cut to every other note). The occasional map has one sample spread across the 3 octaves.

                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                          https://dhplugins.com/ | https://dcbreaks.com/
                          London, UK

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

                            @DanH Well it doesn't sound too crazy then. Downloading 300 files should work, testing will be fun for you, maybe start with 3 files.

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

                            DanHD 2 Replies Last reply Reply Quote 0
                            • DanHD
                              DanH @d.healey
                              last edited by

                              @d-healey I'd have to write out each file name into an array would I not?

                              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                              https://dhplugins.com/ | https://dcbreaks.com/
                              London, UK

                              1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @d.healey
                                last edited by

                                @d-healey Ok a packages question:

                                Is there a way to create a data file that packages can read and install alongside a pkg?

                                I want to split a pkg into two files basically, without having to make two .pkg's (if that makes sense)

                                So the user just runs one .pkg

                                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                https://dhplugins.com/ | https://dcbreaks.com/
                                London, UK

                                Casey KolbC 1 Reply Last reply Reply Quote 0
                                • Casey KolbC
                                  Casey Kolb @DanH
                                  last edited by

                                  @DanH I've looked into this, and as far I'm aware you must have a separate package for the samples if you want to allow the user to pick a sample install location (unless you write some crazy shell script or make a separate installer app). It's annoying for sure.

                                  Casey Kolb
                                  Founder & CEO of Lunacy Audio
                                  Composer | Producer | Software Developer

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

                                  28

                                  Online

                                  1.8k

                                  Users

                                  12.0k

                                  Topics

                                  104.3k

                                  Posts