HISE Logo Forum
    • Categories
    • Register
    • Login

    How do you use Global Cable?

    Scheduled Pinned Locked Moved Solved Scripting
    17 Posts 3 Posters 903 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.healeyD
      d.healey @griffinboy
      last edited by d.healey

      @griffinboy Help > Browse example snippets

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

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

        @griffinboy

        Struggling to get it to work, I don't really understand the example code that I'm trying to port.

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

          @griffinboy

          my failed attempt to try and get the global cable value when the cable value is changed

          560e3bad-f009-4609-9b31-533bf7cad0d6-image.png

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

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

              @griffinboy you need to connect the mod output to the Value parameter of the global cable node, it doesn't read the audio signal.

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

                @Christoph-Hart
                Thanks I've hooked that up now!
                The thing I'm trying to figure out is how to make a callback that uses my global send node.

                05b8a4e2-833b-4965-a0b4-e173246f0465-image.png

                7f67286d-59dd-44b5-a306-14d23269c3fc-image.png

                I'm still a little confused about how this works in HISE. I've tired to adapt the example that I found in the example snippets, but I've probably butchered it.

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

                  @griffinboy ah just realized youโ€˜re using the wrong node. Use a global_cable node - the global_send node is used to route audio signals not a single parameter event.

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

                    @Christoph-Hart
                    Hell yeah!
                    Thank you it works perfectly now.

                    And my callback works too.
                    I shall now have to find out why it works ๐Ÿ˜†
                    I probably need to look into HISE syntax more

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

                      @griffinboy

                      The working solution:

                      acfdcbb1-e267-41c1-9cac-1518dc9b7c50-image.png

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

                        @griffinboy

                        I'm quite curious about what this part does

                        54024f8a-7c38-4c8e-b208-2a82b96b47fb-image.png

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

                          @griffinboy

                          Link Preview Image
                          HISE | Docs

                          favicon

                          (docs.hise.dev)

                          You can either register it as synchronous callback or as asynchronous callback. The latter will filter out repetitions and will be called on the UI thread.

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

                          52

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          102.2k

                          Posts