HISE Logo Forum
    • Categories
    • Register
    • Login

    Snex Node - Creating a visualiser on the main UI

    Scheduled Pinned Locked Moved Solved ScriptNode
    11 Posts 4 Posters 404 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 am looking for the most efficient way to get a variable out of my Snex Node.
      I'm wanting to display gain reduction from a compressor built entirely inside Snex Node.
      I'm looking to find the best way to get it onto the UI.

      Something similar to a display buffer would be ideal. I am fond of the way that you can grab the highest peak in the display buffer of the Scriptnode compressor and use a global cable to send that to your main HISE script.

      I do not need the gain reduction value to be updated very frequently.
      I am wary of performance, it is important to me.

      1 Reply Last reply Reply Quote 0
      • griffinboyG griffinboy marked this topic as a question on
      • d.healeyD
        d.healey
        last edited by

        I think you can use global cables for this - I've never done it though so I can't help with it

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

        griffinboyG 1 Reply Last reply Reply Quote 1
        • griffinboyG
          griffinboy @d.healey
          last edited by griffinboy

          @d-healey
          Thanks I will look into this approach.
          I've used the Global Cable Node before, but I haven't used global cable with code yet. I will see whether it works inside a SNEX node.

          Christoph HartC Matt_SFM 2 Replies Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @griffinboy
            last edited by

            Add a modulation output to the snex node that then connect to a global cable in scriptnode.

            Check all the snex examples in the snippet browser I think I‘ve used that approach somewhere - if not it‘s definitely in the velocity example that I forgot to push yesterday.

            griffinboyG 2 Replies Last reply Reply Quote 1
            • Matt_SFM
              Matt_SF @griffinboy
              last edited by

              @griffinboy here's the example @Christoph-Hart is talking about :
              https://forum.hise.audio/post/54949

              Develop branch
              Win10 & VS17 / Ventura & Xcode 14. 3

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

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • griffinboyG
                  griffinboy @Christoph Hart
                  last edited by griffinboy

                  @Christoph-Hart
                  Apologies, I am having trouble figuring out how to add a modulation output to a Snex Node.
                  It's not in the dropdown as far as I can see?
                  Is this something in the new version of HISE? I have not yet downloaded the latest commit.

                  b465a558-cde4-4e96-b68a-6cd055b003fb-image.png

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

                    @griffinboy sorry I redirected you to the correct topic, but the wrong post.
                    See the code on this one : https://forum.hise.audio/post/54902

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

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

                      @Matt_SF No worries, I also found the whole post very interesting! 😆
                      Thanks for the help.

                      It is going to take me a while to digest and figure out how to apply this.
                      I am new, and my understanding of the SNEX functions and syntax is very poor.

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

                        @griffinboy

                        here is the new snippet:

                        Link Preview Image
                        HISE | Docs

                        favicon

                        (docs.hise.dev)

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

                          @Christoph-Hart Thanks this works great.
                          I decided to use a peak node, and create an external buffer instead of using a global cable,
                          It might be more performance intensive (?) but it allows me to easily grab average volume from the peak meter, which may be more suitable for the kind of meter that I am trying to make (one that doesn't wiggle about like crazy).

                          4ae8db0a-f38d-4428-bb85-74bfafcfc003-image.png

                          Edit:
                          On second thought, is there any reason I shouldn't just use a smoother, and then a global cable?
                          This may actually be a simpler way to get where I want.

                          1 Reply Last reply Reply Quote 0
                          • griffinboyG griffinboy has marked this topic as solved on
                          • First post
                            Last post

                          20

                          Online

                          1.7k

                          Users

                          11.9k

                          Topics

                          103.5k

                          Posts