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

    [ANSWERED] OSC x,y data separation

    How To... ?
    3
    5
    186
    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.
    • RWillatsR
      RWillats
      last edited by DusX

      Hi all,

      I'm fairly new to integrating OSC into my workflow. The setup has gone smoothly and the devices are speaking to each other. My trouble is that I can't figure out how to separate the x and y values when they're being sent to Isadora in a pair. An example: TouchOSC XY controller sends an /xy1 packet, but I only seem to be able to get the x-value from the OSC Listener... Any ideas how to get both?

      Best,

      Rory

      jfgJ 1 Reply Last reply Reply Quote 0
      • jfgJ
        jfg @RWillats
        last edited by

        @rwillats

        have you tried with "OSC Multi Listener"? You get the two values in different outputs. Here the values from a XY Pad:

        best, Jean-François

        • Izzy 3.2.6, Mac OS 14.1 Sonoma:
        - MacBook Pro M1 Max 16" 64GB RAM
        • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
        - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
        - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

        Located in Bremen, Germany

        RWillatsR 1 Reply Last reply Reply Quote 2
        • RWillatsR
          RWillats @jfg
          last edited by

          @jfg

          Ah! turns out I had assigned each of the dials to a different channel (without gaps) which didn't provide space for the second value to come through. Thanks!

          DusXD 1 Reply Last reply Reply Quote 1
          • DusXD
            DusX Tech Staff @RWillats
            last edited by

            @rwillats

            @jfg has shown you perhaps the more efficient way of grabbing this pair of values, but for clarity, I want to add that you can also grab these values (as shown in JFG's image slice of the stream setup window) on Channel 5 AND 6 using two OSC Listeners. 

            This is because OSC allows some values to be sent in bundles. In Isadora's stream setup window, this can be seen as a list of comma-separated values shown to the right side of the channel assignment row (again seen as (0.56, 0.6216) in the image JFG provided). The first values (in this case your x value) will be available on channel 5 (whichever is assigned to this address) the following values (y in this case) will be available in the following channel/s.. channel 6 in this case. If you were passing XYZ data it might use channels 5, 6, and 7.

            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.

            jfgJ 1 Reply Last reply Reply Quote 3
            • jfgJ
              jfg @DusX
              last edited by

              @dusx


              thanks a lot for your very useful supplement. Since I have always used the Actor OSC Multi Listener, I had not paid any attention to the fact that when renumbering the ports, Isadora jumped for e.g. from 4 to 6 when there were two values at 4.

              Thanks again

              • Izzy 3.2.6, Mac OS 14.1 Sonoma:
              - MacBook Pro M1 Max 16" 64GB RAM
              • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
              - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
              - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

              Located in Bremen, Germany

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