HISE Logo Forum
    • Categories
    • Register
    • Login

    Tempo-sync module: time available in GUI

    Scheduled Pinned Locked Moved General Questions
    8 Posts 3 Posters 239 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.
    • toxonicT
      toxonic
      last edited by

      Hi folks,
      i just want to make the time in ms from a scriptnode tempo-sync module displayed in the main interface. How can i make it available there? I thought it might work with the global-send module, but i can't figure out, how. Any hints? :-)

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

        @toxonic there are scripting calls to convert tempo values to milliseconds so I would rather use them than sending the time value out of scriptnode.

        toxonicT 1 Reply Last reply Reply Quote 1
        • toxonicT
          toxonic @Christoph Hart
          last edited by

          @Christoph-Hart Yes, that might be a better option.
          Nevertheless, could someone give a quick example, how to use global-send? Or what about global-cable?

          lalalandsynthL 1 Reply Last reply Reply Quote 0
          • lalalandsynthL
            lalalandsynth @toxonic
            last edited by

            @toxonic I would be interested in that too, although I added a global cable and it shows up in the module tree.

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

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

              Link Preview Image
              HISE | Docs

              favicon

              (docs.hise.audio)

              toxonicT 1 Reply Last reply Reply Quote 0
              • toxonicT
                toxonic @Christoph Hart
                last edited by

                @Christoph-Hart Thank you for the link, but i still don't get it. Most stuff in the documentation is related to OSC stuff, but im just trying to get the value sent via the cable "TestCable".
                I thought this would work like in the following code, but i get an "undefined parameter" error, something seems to b wrong with the cable ID:

                Content.makeFrontInterface(600, 600);
                const var rm = Engine.getGlobalRoutingManager();
                const var cable = rm.getCable(TestCable);
                

                What am i missing?

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

                  @toxonic put TestCable in quotes, it‘s a string not a variable name.

                  toxonicT 1 Reply Last reply Reply Quote 1
                  • toxonicT
                    toxonic @Christoph Hart
                    last edited by

                    @Christoph-Hart Ohh, awesome, that works fine. You can also specify the slot that way.

                    Content.makeFrontInterface(600, 600);
                    const var rm = Engine.getGlobalRoutingManager();
                    const var cable = rm.getCable("Slot_01");
                    const var value = cable.getValue();
                    Console.print(value);
                    

                    Thanks a lot! :-)

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

                    59

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.7k

                    Posts