• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [SOLVED] Matrix receive output float

    How To... ?
    float matrix text to value
    3
    9
    2345
    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.
    • Bennnid
      Bennnid last edited by Woland

      dear all , (sorry it' s really a beginner ask... )

      i'm trying to use matrix value receive in an activated scene,
      to gather float values out from other scenes and play the fade in/out of enter/exit scenes and send them to osc of another soft,

      but 1 ) the output of matrix seems to be text with 0.00 whereas i need value in 0,00 in order to enter OSCsend

      2 i want to get several values but they're output in a list and i don't know how to break it properly
      many Thanks here's my patchMatrix actor questions.izz

      MBP 2019- 16' (16,1) i9 2,3 GHz, 32 Gb /Radeon pro 5550M 8GBram/ OSX 10.15.3
      Equip.: kinect 360 1414/ Leapmotion / Myo Armband /Wiimotes/ Saitek Joysticks ( X, evo, throttle) /Ipad / enttec dmx usb pro

      1 Reply Last reply Reply Quote 0
      • Juriaan
        Juriaan Tech Staff last edited by

        Hi there @Bennnid,


        The Matrix value actor has an Text output, to parse the text to a float / int what the Limit Scaler understands we need to use a 'Text Parser' actor. Connect the text to the text input, set the end char at 0.  Double click the actor to open it up and put this text inside the dialog that opens

        value : integer = 3 digits

        Basically what this does is create a new output with the name Value, our type is a integer and match the first 3 numbers that you receive in your text message.

        Hopefully that is clear :)

        Isadora 3.1.1, Dell XPS 17 9710, Windows 10
        Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
        Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

        Bennnid 1 Reply Last reply Reply Quote 0
        • Bennnid
          Bennnid @Juriaan last edited by

          dear @juriaan many thanks ! how can i tell him to split different float values separated with ; for ex:

          value : float = 4 digits ;

          value : float = 4 digits ;

          value : float = 4 digits ;

          value : float = 4 digits ;

          should work but... thanks for your help


          MBP 2019- 16' (16,1) i9 2,3 GHz, 32 Gb /Radeon pro 5550M 8GBram/ OSX 10.15.3
          Equip.: kinect 360 1414/ Leapmotion / Myo Armband /Wiimotes/ Saitek Joysticks ( X, evo, throttle) /Ipad / enttec dmx usb pro

          Bennnid 1 Reply Last reply Reply Quote 0
          • Bennnid
            Bennnid @Bennnid last edited by

            @Juriaan  i managed to get text parser understand float out clearly with [ value: float =.# ]

            but i need  a way to break my list of several floats output by matrix receive... how can i make the other ligns understand how to break the list? thanks a  lot

            MBP 2019- 16' (16,1) i9 2,3 GHz, 32 Gb /Radeon pro 5550M 8GBram/ OSX 10.15.3
            Equip.: kinect 360 1414/ Leapmotion / Myo Armband /Wiimotes/ Saitek Joysticks ( X, evo, throttle) /Ipad / enttec dmx usb pro

            1 Reply Last reply Reply Quote 0
            • Bennnid
              Bennnid last edited by

              (sorry to flood but i really need help!!)

              how can i tell text parser to split the values with a specific character used as a separator in matrix receive? 

              thanks a lot

              MBP 2019- 16' (16,1) i9 2,3 GHz, 32 Gb /Radeon pro 5550M 8GBram/ OSX 10.15.3
              Equip.: kinect 360 1414/ Leapmotion / Myo Armband /Wiimotes/ Saitek Joysticks ( X, evo, throttle) /Ipad / enttec dmx usb pro

              Michel 1 Reply Last reply Reply Quote 0
              • Michel
                Michel Izzy Guru @Bennnid last edited by

                @Bennnid 

                I guess this would be possible with javascript, but I not to familiar with it. I guess @Juriaan or @DusX could have a solution.


                Best Michel

                Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

                1 Reply Last reply Reply Quote 0
                • Juriaan
                  Juriaan Tech Staff last edited by

                  Put a JavaScript actor in your scene, paste this code inside it :

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


                  What we are basically doing is is split the input with a common seperator, in this case a ','

                  The output input of the JavaScript actor determines how many fields / channels you split.

                  Isadora 3.1.1, Dell XPS 17 9710, Windows 10
                  Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
                  Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

                  Bennnid 2 Replies Last reply Reply Quote 2
                  • Bennnid
                    Bennnid @Juriaan last edited by

                    @Juriaan  Many thanks ! it works like a charm !

                    MBP 2019- 16' (16,1) i9 2,3 GHz, 32 Gb /Radeon pro 5550M 8GBram/ OSX 10.15.3
                    Equip.: kinect 360 1414/ Leapmotion / Myo Armband /Wiimotes/ Saitek Joysticks ( X, evo, throttle) /Ipad / enttec dmx usb pro

                    1 Reply Last reply Reply Quote 0
                    • Bennnid
                      Bennnid @Juriaan last edited by Bennnid

                      edit !

                      @juriaan 2 years after I think I couldn't do it again but finally it's ok ! working !

                      Thx so much again!

                      MBP 2019- 16' (16,1) i9 2,3 GHz, 32 Gb /Radeon pro 5550M 8GBram/ OSX 10.15.3
                      Equip.: kinect 360 1414/ Leapmotion / Myo Armband /Wiimotes/ Saitek Joysticks ( X, evo, throttle) /Ipad / enttec dmx usb pro

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