• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    [ANSWERED] Matrix Value Receive: Output to DMX and Route Values Back Inside Isadora

    How To... ?
    2
    7
    365
    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.
    • R
      Rodolphe S
      last edited by DusX

      Is there a way to rewrite the hexadecimal sentence from the Matrix Value Receive (Artnet configuration) to decimal?

      DusXD 1 Reply Last reply Reply Quote 0
      • DusXD
        DusX Tech Staff @Rodolphe S
        last edited by

        @rodolphe-s

        Can you please provide more details? I work with this art-net pretty regularly and I am not sure what you are looking for here.

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • Isadora Add-ons: https://troikatronix.com/add-ons/
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

        Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

        R 1 Reply Last reply Reply Quote 0
        • R
          Rodolphe S @DusX
          last edited by

          @dusx

          I made a patch where data go to the matrix value send from different way (midi, touchosc, data array) and I want to reuse those data. So instead of tracing multiple line from all those actors, I'm wondering if I can refragment the data from the matrix value send.

          Maybe with a second Matrix, because the actual send the data to an Enttec node.

          (Basically, I made a light board for a puppet show, using the data array for the intensity of the cues and an APC20 to control the patch)

          DusXD 1 Reply Last reply Reply Quote 0
          • DusXD
            DusX Tech Staff @Rodolphe S
            last edited by

            @rodolphe-s

            yes, you can use two Matrix Value Receive actors, both will get your values, and the new (second one) doesn't need to convert your values to hex.
            The default values for the Matrix Value Receive don't convert to hex, you could set a separator to create a string made of numbers and separators.. perhaps like this 1-2-3-4-5-6 etc..
            Then you could parse this. I would recommend using the Javascript actor for this task, and perhaps formatting the string into JSON so you could pick and choose values from it using the downloadable plugin, JSON Parser.

            That solution could be very powerful/flexible.

            Troikatronix Technical Support

            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            • Isadora Add-ons: https://troikatronix.com/add-ons/
            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

            Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

            R 1 Reply Last reply Reply Quote 0
            • R
              Rodolphe S @DusX
              last edited by

              @dusx

              Thanks for the hint!

              I'm a dummy in javascript, but I will dig into that.

              DusXD 1 Reply Last reply Reply Quote 0
              • DusXD
                DusX Tech Staff @Rodolphe S
                last edited by

                @rodolphe-s said:

                I'm a dummy in javascript, but I will dig into that.

                 If you post the String you create with the Matrix actors, I (or another user) will be happy to whip up some parsing code for you 🙂

                Troikatronix Technical Support

                • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                • Isadora Add-ons: https://troikatronix.com/add-ons/
                • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                R 1 Reply Last reply Reply Quote 0
                • R
                  Rodolphe S @DusX
                  last edited by

                  @dusx


                  Got it!

                  function main()
                  {
                      var input             =    arguments[0];
                      var values             =    input.split(',')
                      
                      return values;
                  }

                  So I configure the matrix to have a ',' separator between each value (integer, 3 digits), output the string in a trigger text actor then to the javascript actor with this code. Work perfectly for me.

                  Thanks you.

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