HISE Logo Forum
    • Categories
    • Register
    • Login

    Downloading speed inside hise,

    Scheduled Pinned Locked Moved General Questions
    52 Posts 4 Posters 754 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.
    • P
      parabuh
      last edited by parabuh

      Someonce has issue with downloading large files? On begning downloading speed is nice, but after few seconds speed is throtled to about 0.2 Mbps. This issue is only on mac.

      d.healeyD A 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @parabuh
        last edited by

        @parabuh Are you able to recreate the issue on your system?

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

        P 1 Reply Last reply Reply Quote 0
        • P
          parabuh @d.healey
          last edited by

          @d-healey Yeah, I can do that, I'll record a video.

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

            @parabuh No need for a video, I just wanted to know if you also have the problem, because that makes it easier to solve.

            So do you get the issue when you use the same download link in the browser instead of through HISE?

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

            P 1 Reply Last reply Reply Quote 0
            • P
              parabuh @d.healey
              last edited by

              @d-healey one more time, when i downloading file through browser (mac/win) eveything is fine and downloading file with full speed, on macos hise starting download and after few seconds slowing down. On windows eveything is fine.

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

                Can you share the link to the file?

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

                P 1 Reply Last reply Reply Quote 0
                • P
                  parabuh @d.healey
                  last edited by

                  @d-healey i tested this with my friend from another country and the same issue, downloading via was slow and via browser was normal so this is not CDN or infrastructure issue.

                  d.healeyD ustkU 2 Replies Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @parabuh
                    last edited by

                    @parabuh Can you share a link to the file so I can test?

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

                    P 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @parabuh
                      last edited by

                      @parabuh it would be helpful to see how you handle the download in the callback

                      Can't help pressing F5 in the forum...

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        parabuh @d.healey
                        last edited by

                        @d-healey i sent you link on chat
                        @ustk im using standard Server.downloadFile method

                        Server.downloadFile("/" + expansionFile, {}, downloadDir,
                                        function() {
                                            var message = "";
                        
                                            message += Engine.doubleToString(
                                                this.data.numDownloaded /
                                                1024.0 / 1024.0, 1);
                                            message += "MB / " + Engine
                                                .doubleToString(this.data
                                                    .numTotal / 1024.0 / 1024.0,
                                                    1) + "MB";
                                            
                                            DOWNLOAD_STATUS.set("text", message);
                        
                                            if(this.data.finished) {
                        	                    expansionFileDir = downloadDir;
                        	                    INTALL_EXPANSION_BUTTON.set("visible", true); 
                                            }
                                        });
                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @parabuh
                          last edited by

                          @parabuh said in Downloading speed inside hise,:

                          i sent you link on chat

                          Thanks, I'll give it a try now on Mac and see what results I get and if I see any issues.

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

                          1 Reply Last reply Reply Quote 0
                          • P
                            parabuh @ustk
                            last edited by

                            @ustk you can see this issue here https://streamable.com/px908r

                            ustkU d.healeyD 2 Replies Last reply Reply Quote 0
                            • ustkU
                              ustk @parabuh
                              last edited by

                              @parabuh Mmm... This might be related to the size of the file and Hise having trouble to cache it on mac.. But this is above of my expertise level 🤔

                              Can't help pressing F5 in the forum...

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

                                @parabuh Yeah, I just tested on Linux and no issue. I'll try on Mac now.

                                This is the snippet I'm using to test (you need to fill in the baseURL and url parts).

                                HiseSnippet 929.3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HhxE9W7qzXWqrSowtqMRRngJ4GCK5yruC7U4ZPLIxemzycpU1uKIu2qJOmfOK8wvv6uUOJvC10.ObWCr2tF3q10.6uqAdztF3we5.s+qgeNyHSJZaHjoyNKeXkiyYBJVAlWsR9OrJPAuL
                                

                                I know of another developer who's experienced slow download issues on Mac, so this is not unique.

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

                                d.healeyD P 2 Replies Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @d.healey
                                  last edited by d.healey

                                  Confirmed, I get the same issue on Mac. I also tested with curl and the download speed is good, so this is specific to JUCE/HISE. I'll see if I can find a solution

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

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    parabuh @d.healey
                                    last edited by

                                    @d-healey thanks for your help <3

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      parabuh @parabuh
                                      last edited by

                                      @parabuh if the file is smaller than 500 mb everything is ok

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

                                        Pretty sure this PR fixes it - https://github.com/christophhart/HISE/pull/643

                                        Peek 2024-12-11 15-45.gif

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

                                        1 Reply Last reply Reply Quote 2
                                        • A
                                          aaronventure @parabuh
                                          last edited by

                                          @parabuh on macOS you can use curl with BackgroundTask to do any downloading you need.

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

                                            @aaronventure Do you have to link against curl in Projucer?

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

                                            A P 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            13

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.6k

                                            Posts