HISE Logo Forum
    • Categories
    • Register
    • Login

    How do you use Global Cable?

    Scheduled Pinned Locked Moved Solved Scripting
    17 Posts 3 Posters 932 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 @griffinboy
      last edited by griffinboy

      @griffinboy
      5f21cd9e-3aa8-44eb-a763-ed7cbcfda908-image.png

      b5d6b25b-e093-4ab9-af8e-54ee6af810ab-image.png

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

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

          @griffinboy I haven't been able to find other posts that ask about the Global Cable, but perhaps I haven't been searching the right keywords.

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

            @griffinboy check the data visualisation snippets, there is an example usage of the global cable

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

              @Christoph-Hart

              Thanks, I'm sorry to ask this but where can I find these snippets?
              I've searched through the forums, documentation, and the HISE tutorial files and couldn't see any mention.

              d.healeyD griffinboyG 2 Replies Last reply Reply Quote 0
              • 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 | Scripting | Global Cable

                                    A script reference to a cable object of the Global Routing System

                                    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

                                    29

                                    Online

                                    1.8k

                                    Users

                                    12.0k

                                    Topics

                                    104.1k

                                    Posts