HISE Logo Forum
    • Categories
    • Register
    • Login

    .hr1 and .hr3 Files Opening

    Scheduled Pinned Locked Moved Bug Reports
    18 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.
    • M
      MIDIculous
      last edited by

      Just an FYI: In Firefox, it recognizes .hr1 and .hr3 files as audio files and is trying to open them, so users who purchase and try to download the .hr1 and .hr3 files has the browser trying to open it.

      May want to consider a different extension for anyone having issues.

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

        Working fine for me in Firefox, might depend on the mimetype meta data when uploading the files.

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

        1 Reply Last reply Reply Quote 0
        • staiffS
          staiff
          last edited by staiff

          compress (zip or rar) your hr-x files and you won't have weird issue with firefox ;)

          Excuse me i'm French.

          M 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            Noooo, please don‘t! The .hr1 file is the best compression for audio material available in the world (aka FLAC) and wrapping it around a general purpose compression doesn‘t make sense.

            staiffS 1 Reply Last reply Reply Quote 1
            • M
              MIDIculous
              last edited by

              Just launched a sale and have tons of customers reporting this, so I know it's not just one person.

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

                @MIDIculous Can you force a different mime-type for the file downloads?

                Link Preview Image
                Properly configuring server MIME types - Learn web development | MDN

                MIME types describe the media type of content, either in email, or served by web servers or web applications. They are intended to help provide a hint as to how the content should be processed and displayed.

                favicon

                MDN Web Docs (developer.mozilla.org)

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

                M 1 Reply Last reply Reply Quote 0
                • M
                  MIDIculous @d.healey
                  last edited by

                  @d-healey My files are hosted on Amazon S3.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MIDIculous @staiff
                    last edited by

                    @staiff said in .hr1 and .hr3 Files Opening:

                    compress (zip or rar) your hr-x files and you won't have weird issue with firefox ;)

                    I'm finding that Keka is no longer compatible with the Winrar format and yields tons of errors. Also UnrarX is discontinued. Having major issues with RAR extraction and Hr1 is so solid, except for this .hr1 .hr3 trying to open in the browser and can't download.

                    staiffS 1 Reply Last reply Reply Quote 0
                    • M
                      MIDIculous
                      last edited by

                      So I went to Amazon to check and it seems as if the Value for the content type is correct:

                      • Value = application/octet-stream which means it has to be opened with an application.

                      So my MIME Meta-Data types seem to be fine

                      Meta Data Correct.png

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

                        @MIDIculous I use Amazon S3 too. The Content-Type for my HR files is set to application/x-www-form-urlencoded

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

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MIDIculous @d.healey
                          last edited by

                          @d-healey said in .hr1 and .hr3 Files Opening:

                          @MIDIculous I use Amazon S3 too. The Content-Type for my HR files is set to application/x-www-form-urlencoded

                          I'm going to try Content-Type attachment

                          1 Reply Last reply Reply Quote 1
                          • staiffS
                            staiff @Christoph Hart
                            last edited by

                            @Christoph-Hart
                            compress in rar is just for download purpose After that they decompress to have the hr file.

                            mainly of system (wordpress for example) hate direct .wav and other formats. But when compressed in .zip/.rar all is fine for customers ;)

                            Excuse me i'm French.

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

                              @staiff If you're compressing FLAC (hr) to RAR then there is no point in compressing the .ch file in the first place. Also RAR is proprietary which isn't good and, as has been mentioned already, there is a shortage of RAR decompression apps for MacOS.

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

                              1 Reply Last reply Reply Quote 0
                              • M
                                MIDIculous
                                last edited by

                                So far so good. I think updating this in Amazon S3 Meta info to ```
                                application/x-www-form-urlencoded

                                
                                I must say that the actual extraction portion is rock solid. Thanks @Christoph-Hart. As I said RAR is getting increasingly difficult, especially cross platform. Keka is finicky and UnRarX is discontinued, so this is a life saver. The main issues I get are:
                                
                                
                                * Users not downloading all files completely
                                * Users not having all of the files in one location
                                1 Reply Last reply Reply Quote 1
                                • Christoph HartC
                                  Christoph Hart
                                  last edited by

                                  Yes, I might add some hash code to check the file integrity and check for the existence of all files.

                                  It's been a while since I've implemented this but I think there should be room in the metadata for these checks.

                                  1 Reply Last reply Reply Quote 0
                                  • staiffS
                                    staiff
                                    last edited by staiff

                                    pretty sure we ABSOLUTLY don't understand each other.

                                    When finished compiling your soft (standalone .exe, component, app, etc....) and samples (HR1) you can:
                                    1- put all in one folder and compress it (rar and/or zip).
                                    2- create an app + a samples folders and compress then (2x zip or 2xrar).

                                    I absolutly not telling about compressing the raw samples and samplemaps. But final product.

                                    as i said before some formats are not supported by web browser and/or wordpress. I forgot to mention .exe files.
                                    Wordpress hate .exe file. So we must compress in .zip and/or .rar to upload them.

                                    the best way to avoid conflit beetween browser, platform and product is to compress it.

                                    Don't forget to talk about the conflict beetween PC, mac and linux format and the way that browser "read" them.

                                    And most of time if you put to download an .exe file the security software will warning. Not with compressed files. Sames for other formats (as hr1)

                                    Excuse me i'm French.

                                    LindonL 1 Reply Last reply Reply Quote 1
                                    • staiffS
                                      staiff @MIDIculous
                                      last edited by

                                      @MIDIculous said in .hr1 and .hr3 Files Opening:

                                      I'm finding that Keka is no longer compatible with the Winrar format and yields tons of errors.

                                      yes.
                                      zip is better.
                                      for example with wordpress sometimes we have problems with rar files. Never with .zip files.

                                      Excuse me i'm French.

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

                                        @staiff -- plus adding yet another extension makes the .htaccess regex even more nightmarish....

                                        HISE Development for hire.
                                        www.channelrobot.com

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

                                        16

                                        Online

                                        1.7k

                                        Users

                                        11.8k

                                        Topics

                                        102.3k

                                        Posts