HISE Logo Forum
    • Categories
    • Register
    • Login

    Is this a Bug? (Issues with the Display Buffer)

    Scheduled Pinned Locked Moved Unsolved Bug Reports
    7 Posts 2 Posters 412 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.
    • griffinboyG
      griffinboy
      last edited by griffinboy

      I was following an old forum post to create a gain reduction meter from the scriptnode compressor, and ran into this unresolved issue:

      In my compiled node, there is a see-through space where my compressor metering should be. I've been told that this is normal and that I should still be able to use the display.
      However, my code is not managing to read any value coming out of the compressor.

      25684022-ee1e-48e8-9629-b953d6047b7a-image.png

      efb211e4-9c47-4c43-8fba-1262ccd37af3-image.png

      This is what it looks like in the uncompiled scriptnode. It works when uncompiled, but not when compiled.

      3c3f6d5e-8846-46b4-9273-d517bd67fd53-image.png

      Here is my code.
      The output to the console is 0.0 no matter what : /

      griffinboyG 1 Reply Last reply Reply Quote 0
      • griffinboyG griffinboy marked this topic as a question on
      • griffinboyG
        griffinboy @griffinboy
        last edited by griffinboy

        @griffinboy
        Update:

        It appears to just be the compressor that has this issue!
        I've placed a peak node into the scriptnode, and compiled it, and I am getting a response from the peak node, but radio silence from the compressor.

        d67b393c-9d81-4c9f-8631-6ad2291f23ed-image.png

        griffinboyG 1 Reply Last reply Reply Quote 0
        • griffinboyG
          griffinboy @griffinboy
          last edited by

          @griffinboy
          Update:

          I made a new script and compiled it with the compressor inside, and for some reason, the display buffer works in this one!

          f82f3e5f-3465-4ed7-82ba-904a38101cab-image.png

          I am not sure why it doesn't work in my other script, which contains a snex node for a waveshaper and a wet dry mix...

          N 1 Reply Last reply Reply Quote 0
          • N
            Noahdeetz @griffinboy
            last edited by

            @griffinboy Hey!

            Were you ever able to figure out what your fix was for it? I am still having some issues trying to get it working as well.

            N

            griffinboyG 1 Reply Last reply Reply Quote 0
            • griffinboyG
              griffinboy @Noahdeetz
              last edited by griffinboy

              @Noahdeetz

              I never discovered what the cause of the problem was.
              But my solution was to create a new ScriptFX in the HISE project, and I reacreated the compressor script, but simplified it to have less processing (I removed the saturator and other junk I was doing inside the scriptnode).
              After compiling it to a dsp network, it miraculously started working.

              It should be noted that my workflow is a little dodgy, although I don't know what impact that had on the bug.

              I keep two copies of the HISE project, one for the uncompiled scriptnode, the other for the compiled scriptnode.
              To compile, I open the uncompiled project, compile the network, and then copy the compiled scriptnode files across to the other HISE project, and load them into the HARDCODEDMASTERFX there.
              I am copying across the BINARIES folder which I find inside the DSPNETWORKS folder.

              I believe that this is a bad way to do it, as there are files in there that should not be copied across as they can end up overwriting scriptfx stuff in the new project.

              I do not know if this workflow had an effect on this bug or not.

              There may have been a tiny difference in the way I set up the scripnode chain in the new version, that meant I didn't encounter the issue.
              I am making a compressor from scratch in scriptnode this week, so I shall likely encounter the issue again. I will do a proper investigation if I do come across the issue again.

              N 1 Reply Last reply Reply Quote 0
              • N
                Noahdeetz @griffinboy
                last edited by Noahdeetz

                @griffinboy

                Interesting! Got mine to work in script node but then does not seem to work in the compiled version.

                @Christoph-Hart any reason why this would not work in the compiled scriptFX but in the script node workspace? When loading the hardcoded module I tested it also with a peak meter where I can see data.

                0bf659ae-e36c-4e9c-ab89-a444696eb813-image.png

                For reference I saw peak meter data here when I hooked that up however I don't see any gain reduction data when re-loading the hardcoded module.

                *Wanted to add an edit that totally feel free to not answer this if going the "global cable" route is the better way to do things

                griffinboyG 1 Reply Last reply Reply Quote 0
                • griffinboyG
                  griffinboy @Noahdeetz
                  last edited by griffinboy

                  @Noahdeetz

                  I have gone down this route once more, and so I will be testing this again soon,
                  but this time I am using a peak meter node as the Display Buffer.

                  So far it's working, but I haven't compiled it yet.

                  The advantage of using a Display Buffer over a Global Cable is that the Display Buffer has memory of past events (within the buffer). This can be useful if you need to access this data, for instance if you wanted to calculate RMS or other loudness calculations, or if you want to draw a graph that follows the volume over time.

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

                  51

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  102.2k

                  Posts