HISE Logo Forum
    • Categories
    • Register
    • Login

    DisplayBuffer in compiled network causing crash

    Scheduled Pinned Locked Moved General Questions
    8 Posts 4 Posters 129 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
      dane.zone
      last edited by

      Re: How to display the core.peak & compressors to the UI?

      I'm trying to display some peak info in the UI like the referenced topic. Got it working great in Scriptnode form, but HISE is crashing every time I try to load the compiled version into HardcodedMasterFX.

      I tried compiling the referenced snippet as a test with the same result, still crashing. What am I missing? Is there a trick for dealing with the compiled External DisplayBuffer info?

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @dane.zone
        last edited by ulrik

        @dane-zone looking at @ustk example, it works here to compile to a hardcoded version

        the reference to the Hardcoded FX is not needed, you only use it to get the DisplayBufferSource like this:

        const BufferSource = Synth.getDisplayBufferSource("HardcodedMasterFX1");
        
        HiseSnippet 1303.3oc2X01SaaDG+LIdZIccacqaZu7DuxLwRig.srITABPAMdHhP6pzzT0g8kjaXem24yPip5Gk8t88YeO1q5GfIs8+N6fsGg1rnUJcQBB2+mte9+ylNRgGMNVHQV0OdXDEY8Q1cGxUCZOfv3nc2DY841axhiBHCwajzqGUh2oMZigQj3XpOxxpxizBZUqJx74UObCR.g6QyIgPOQv7n6wBYpbpcV66YAAaS7oGyBKHcq010SvaKBDI.npX2DEQ7Nkzmd.QK1L1ncHwCPVes8RKrnWK+66uvBKsxxdjkoqzizqm6h9sZs7CVwcwUHsdvxzlKgr9fs7YJgrqhnnwHqpaH7G1cf3bd5E7DVL6j.p9fKpKbyoj2VD3qeD0TQsGvB76LxaEiPV1cx8cUR8c20delO6B549vO0v.mqQQGn0LkgWkRvysH7ZV.diARVEfT0THcG6tdRVjJmiFO2xdWthJ6Qf3TQnjJKZFbE61BPBtpQH4T51R3vEZ331r473kZN22UuNDphU3rDjN7.7p3QJ1mpZKBiDb3fyr4hL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mat4e+RM680mwtHy6CULVFBc4dlmWYScIEWXZUbwoUwVSqhKMsJt7zp38mVEevaVQ8Pn0SThvzRSDZ+NaYdYRKqs3DHK2TQf9a8beiHC
        

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        D 1 Reply Last reply Reply Quote 0
        • D
          dane.zone @ulrik
          last edited by

          @ulrik Thanks for your response. Unfortunately I can't even get that far, HISE crashes as soon as I try to load any compiled dll with an external display buffer into the HardcodedMasterFX. Other simpler networks are compiling fine.

          If it's working for you, something must be wrong with my setup when I compile the DSP network as dll. Are there any other obvious things I might be missing with settings for this process?

          I'm working on MacOS 15.6.1, the latest develop branch with Faust enabled compiled a few days ago.

          HISEnbergH 1 Reply Last reply Reply Quote 0
          • HISEnbergH
            HISEnberg @dane.zone
            last edited by

            @dane-zone it might be that you just need to save the scriptnode network once you load in the snippet, then go to compile it.

            Are you able to create a scriptnode network with just a simple oscilloscope then compile and load it into the hardcoded fx?

            You also don't necessarily need to use the hardcoded fx, you can work with just the script fx.

            HiseSnippet 1615.3oc2X0sSabDEdVfMI3jz1zVklKWwUapnNdMgRSqhBXCjfZ.rvDZjppPi2cr8Tudls6NFvMJ22WhdWee56QuJO.Up8blYW1cIlThaRTSsDfmyueyYN+LCshk9rjDYLwpx9iiXDqqY2drP0uYeJWP1Zch0mXuNOIJjN1owntcYwNOpIow3HZRBKfXYM6CQAsleNh9yKdPCZHU3yxIQHGH49rGyGxU4Tas52xCC2jFv1mOrfz2c0s7khlxP4H.TyZWiDQ8GP6w1ghhMiM4Qzj9DqO2tFqSmftcV5dr5dd0u2x0VdkN0ARKw7o06txc8psxxqT+d.HuzFAbkLtshpXIDq4ZHCF2tu7XgwAGvS3cBY3BORavyFxaJCCvsHRkzrOOLnUVzJgPrrakG6l0D69T6s4A7SomGC+HMCmbMJF.sloL7lsD77JBuZEf2DfjUAHMmAR2vtseLORkyAwyUs2RnXwcov4TQnXjkLysl0toDjPnpNjNfsYLr3TMb8pUaQmk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WOA9MLevqr6uoMUPCGmvpVTnIhgyZm+Irf4VgrSxFRclFEmkBAayFvNw3wMfh3.3h1ZkQyQZQiATnXYcLylzQHm6Vs9ansZ82ZaUSs+qylcJ3naviqFiNVWxsUxAHW35ljCv9jXg7+dCzPJGLjpaVMUWNo3fvOvv7p1sgJC8a.zcKtodsy2QOh47PFTyfiw8N2md96+5ebQe5YzE9om65q.2ueLUjDISJY31rg78gaWkTj3SRf2Jw9o8vVoEo2TRimHqW7fMgM4D0oMUMJV2SNqWcgKjL6q5EsdS4KZm6+bun88fqcV5NUymgw1brKwFhiXgXiGDieLj72kBs1ynVNWdaoPlMrN+fdOFb0id8vFI4Xehan0TJ38W4TFr5drPFsPR6e9aq9XHYiFustK5TEK7ds+GPLwyqaYafq94mNu+9bgY+e8yEdmb+22E9XH0OVdnu4YCXd5UzTf8sPeGf4s2FW63QNxLgK+rbHzk6Pe+xl5kTr9zp3RSqh2cZUb4oUwubZUbkoUwu5eVQbHzZiTxglRS3kLs1vb2JqMDTHKWWQP9azvPYK.
            
            D 1 Reply Last reply Reply Quote 0
            • D
              dane.zone @HISEnberg
              last edited by

              @HISEnberg welp it turns out that the culprit was the extra tag in my Projucer file: "NUM_MAX_CHANNELS=32"

              Removing that and re-compiling HISE fixed the problem, however I'd really like to be able to compile networks while having up to 16 stereo channels for complicated mic mixer setups etc.

              Is there any way we can tell HISE to compile my dll to work with these extra channels?

              HISEnbergH ChazroxC 2 Replies Last reply Reply Quote 0
              • HISEnbergH
                HISEnberg @dane.zone
                last edited by

                @dane-zone Hmm it should work. There's been discussion on the forum about how to set HISE up to support more channels, but I forget what that process looks like. There's some small edits you need to make to the HISE source code.

                Perhaps this:

                Link Preview Image
                32-channel multi-out. How?

                Hey guys, I currently have HISE multi-out with 16 (mono) channels. How do I get it to have 32 outs? Changing the flag in HISE plugin project before compilin...

                favicon

                Forum (forum.hise.audio)

                D 1 Reply Last reply Reply Quote 0
                • ChazroxC
                  Chazrox @dane.zone
                  last edited by

                  @dane-zone idk if by setting it in projucer is any different but I use that tag in my HISE project settings 'preprocessors' and it works fine. "NUM_MAX-CHANNELS =24" is exactly what Im using under EXTRA DEFINITIONS OSX.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dane.zone @HISEnberg
                    last edited by

                    @HISEnberg (cc: @ulrik ) oh yes, and thank you, but that's not quite the problem. I've successfully compiled HISE and other VST/AU/AAX plugins with 32 outs. I've also compiled other DSP networks successfully before while utilizing all 32 outs, but never any with an external display buffer.

                    Something about having the extra channels in HISE is messing with any use of External DisplayBuffer in a compiled dll and causing a crash.

                    If anyone else can replicate this issue or give me a point in the right direction I'd much appreciate it: If HISE is compiled with the extra preprocessor tag NUM_MAX_CHANNELS=32, compiled DSP networks using an External DisplayBuffer cause a crash when loading into Hardcoded MasterFX (due to some sort of channel number mismatch)

                    Thanks again 🙏

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

                    29

                    Online

                    1.9k

                    Users

                    12.4k

                    Topics

                    108.1k

                    Posts