HISE Logo Forum
    • Categories
    • Register
    • Login

    Encoding monoliths broken

    Scheduled Pinned Locked Moved Bug Reports
    20 Posts 3 Posters 721 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      Can you reproduce it reliably with a particular samplemap?

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

        @Christoph-Hart Yes, on my main system but no problem on my Mac

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

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

          What happens if you run it in the debugger? A reproducible crash should be pretty easy to spot during debugging.

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

            @Christoph-Hart I did a step through, which took a while because of the number of samples and it seems to break before it writes the file. That was a few days ago so I'll do it again in a little while to refresh my memory and see if I can spot anything.

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

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

              I'm seeing lots of this in the output, I don't know what it means...

              5be798c7-2a4d-4cd5-b5f2-3e4490a6d689-image.png

              Also I noticed that certain audio device settings prevent my server calls working, but one problem at a time.

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

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

                This output looks ok, it's just super verbose to track down codec issues, but I don't think that is the case here, but some more trivial file I/O problem. I think you can deactivate the logging and just wait until the debugger crashes to inspect the stack trace.

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

                  @Christoph-Hart Ok, I'll do that now and report my findings.

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

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

                    It crashes in hise::MonolithExporter::writeFiles() I'm stepping through it now to see if I can get any more detail.

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

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

                      Ok when I stepped through the entire process it encoded the samples without issue 😲

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

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

                        I haven't been able to get any further with it. I tried to recreate the issue on Windows by playing around with various audio device settings but no luck. I'm suspecting this is related to my move a to pipewire a few weeks ago, but since pipewire is the future :p I would definitely like to get it working.

                        Update: I disabled pipewire, reinstalled jack, and the export worked and then I reenabled pipewire and the export doesn't work.

                        I see this in the pipewire changelog for the next release Stability and compatibility improvements in JACK apps. So maybe I'll just disable pipewire in HISE for now and see if the update fixes the issue when it arrives.

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

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

                          I think I've found a partial solution... move to the future :) I rebuilt HISE without JACK (disabled it in Projucer) and now I can use pipewire as the audio device and the encoding with HLAC seems to work fine.

                          The only potential issue I see now, but I'll need to test, is when I export my project I will want it to include JACK because most Linux users will be using it, and if they also have pipewire installed I expect the decoding to fail. But I'll cross that bridge when the time comes, or I'll ignore it until someone complains :p

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

                          ustkU 1 Reply Last reply Reply Quote 0
                          • ustkU
                            ustk @d.healey
                            last edited by

                            @d-healey said in Encoding monoliths broken:

                            I'll ignore it until someone complains

                            unnamed.jpg

                            Hise made me an F5 dude, browser just suffers...

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

                              @ustk I occassionally get a report of a bug in a piece of software I wrote 10 years ago and no-one has noticed. These are the sort of bugs I like :)

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

                              1 Reply Last reply Reply Quote 3
                              • ustkU
                                ustk
                                last edited by

                                🤣

                                Hise made me an F5 dude, browser just suffers...

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

                                  I've hit another snag. The encoding to monolith works with my previous solution, but extracting from a hr file causes an instant crash. I noticed on Debian that changing the audio driver affected how far the extraction process got before the crash. I've tested the same project on Windows with ASIO and it works fine.

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

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

                                  22

                                  Online

                                  1.9k

                                  Users

                                  12.5k

                                  Topics

                                  108.7k

                                  Posts