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

    OSC Stream setup

    Feature Requests
    5
    17
    4.4k
    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.
    • C
      celiomenard
      last edited by

      Hello and sorry for my bad english....

      I have a trouble with osc...
      with auto detect input In the stream setup, isadora receive from DLIGHT an address like that : /device /COLOUR/CTO with two int.
      Isadora says that the address is not good because there is a space between device and /COLOUR/CTO.
      in Fact the real address is /device and /COLOUR/CTO is a string and the two other values are int
      I can send osc with /device and 3 values (1string and 2 int) to DLIGHT from isadora with osc multitransmit  but i can't receive.
      If someone have any idea.
      Best regards
      Célio

      Isadora 3.0.7 USB key
      MBP 2017 13 inch Touch Bar
      4 ports thunderbolt
      MOJAVE

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

        can you manually edit the address in stream setup to be /device

        Then receive the 3 values using the channel number of the set address (eg: 0)
        and the following two addresses (so channel 1 and channel 2 for the following 2 ints)

        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.

        1 Reply Last reply Reply Quote 0
        • C
          celiomenard
          last edited by

          hi thanks for answer DusX.

          i already test that way but unfortunaly it doesn't work...

          Isadora 3.0.7 USB key
          MBP 2017 13 inch Touch Bar
          4 ports thunderbolt
          MOJAVE

          1 Reply Last reply Reply Quote 0
          • jhoepffnerJ
            jhoepffner
            last edited by

            Hello,

            A good solution is to use OSCulator who receive everything easily and to resend it with a rewrote address. But I think is Mac only. You can also use Max/Msp or PureData to rewrite OSC address.

            Jacques Hoepffner http://hoepffner.info
            GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
            MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
            MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
            MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

            1 Reply Last reply Reply Quote 0
            • C
              celiomenard
              last edited by

              Thanks Jacques. I have osculator and pure data but I hoped it could be possible without other soft.... At the end I think I will use them Thanks again Have a good night and a good year 2017 All the best. Celio

              Isadora 3.0.7 USB key
              MBP 2017 13 inch Touch Bar
              4 ports thunderbolt
              MOJAVE

              1 Reply Last reply Reply Quote 0
              • S
                Stephane_Morisse
                last edited by

                Maybe you should ask to P. montremont to change this in DLight because I think there shouldn't be any space before the variable in an Osc address. At least that's common practice.

                1 Reply Last reply Reply Quote 0
                • C
                  celiomenard
                  last edited by

                  Thanks Stephane. I've already asked Nicolas Bats about syntaxe but he says me that the adress is /device and /COLOUR/RED is only strings. It's not included in the adress. I could send the good syntaxe with osc multi transmit with 3 arguments. First is /COLOUR/RED, second is the number of the device and third is the value. I just can't receive it. I will try with Osculator and Puredata and will give you the result. All the best Celio.

                  Isadora 3.0.7 USB key
                  MBP 2017 13 inch Touch Bar
                  4 ports thunderbolt
                  MOJAVE

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

                    @mark

                    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.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Stephane_Morisse
                      last edited by

                      In Max you could use sprintf or regexp to do that so no doubt there must be some solution with pure data.

                      1 Reply Last reply Reply Quote 0
                      • markM
                        mark
                        last edited by

                        @celiomenard,

                        Can you do the following
                        1) Open Stream Setup, turn on Auto Detect Input and setup to read the /device message
                        2) Close that window and then open the Monitor window (Windows > Show Monitor)
                        3) Send a /device message to Isadora
                        4) Take a screen shot of the Monitor window so we can see how this message is formatted
                        I can analyze the message if I can see the raw data.
                        Best Wishes,
                        Mark

                        Media Artist & Creator of Isadora
                        Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                        1 Reply Last reply Reply Quote 0
                        • markM
                          mark
                          last edited by

                          P.S. Any idea why don't I see the "/device" command listed in the DLIGHT documentation? http://www.getdlight.com/wiki/index.php?title=OSC

                          I was trying to figure out what the exact format of the message is.

                          Media Artist & Creator of Isadora
                          Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                          1 Reply Last reply Reply Quote 0
                          • C
                            celiomenard
                            last edited by

                            hi mark,

                            this is screen shot of the monitor window...
                            it's really strange for me that it's working only from Isadora or PureData to Dlight but not from Dlight.
                            About wiki, the osc command for device are not yet included...
                            soon i think..
                            Many thanks
                            All the best
                            Célio

                            Isadora 3.0.7 USB key
                            MBP 2017 13 inch Touch Bar
                            4 ports thunderbolt
                            MOJAVE

                            1 Reply Last reply Reply Quote 0
                            • C
                              celiomenard
                              last edited by

                              hi mark,

                              this is screen shot of the monitor window...
                              it's really strange for me that it's working only from Isadora or PureData to Dlight but not from Dlight.
                              About wiki, the osc command for device are not yet included...
                              soon i think..
                              Many thanks
                              All the best
                              Célio

                              18e7c8-monitor-input-from-dlight.png e6992a-monitor-input-from-puredata.png 253b76-monitor-output-to-dlight.png

                              Isadora 3.0.7 USB key
                              MBP 2017 13 inch Touch Bar
                              4 ports thunderbolt
                              MOJAVE

                              1 Reply Last reply Reply Quote 0
                              • markM
                                mark
                                last edited by

                                @celiomenard

                                I will analyze these. It's sending the data in something called a #bundle, which is a little unusual. Maybe Isadora is not interpreting it correctly.
                                Best Wishes,
                                Mark

                                Media Artist & Creator of Isadora
                                Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                                1 Reply Last reply Reply Quote 0
                                • markM
                                  mark
                                  last edited by

                                  Dear @celiomenard,

                                  As far as I can there is something wrong with the message coming from DLIGHT.
                                  In the first picture you send (monitor input from dlight.png) the length of the bundle is given as 32 bytes. The data that follows is
                                  "/device /COLOUR/CTO" (not including the quotes.) This would be the OSC address, and it includes a space between "/device" and "/CTO" which is invalid.
                                   Look in the OSC spec (http://opensoundcontrol.org/spec-1_0) and you'll see this section:
                                  "Each OSC Method and each OSC Container other than the root of the tree has a symbolic name, an ASCII string consiting of printable characters other than the following:"
                                  The table that follows shows that the space character is invalid.
                                  After the OSC address comes the "type tag" – the part that shows up as ",ii" in the monitor window. This indicates that two 32 bit integers are to follow. The type tag and the rest of the message is OK. So, DLIGHT is sending this:
                                  **/device /COLOUR/CTO NNN MMM**
                                  where NNN is the first number and MMM is the second. But there is a space in the OSC Address and that's not valid – so Isadora won't read it.
                                  If the system wanted to send a string followed by two integers, the proper format would be
                                  **/device SSS NNN MMM**
                                  where SSS is the string. In this case, the type tag should be ",sii" to indicate a string followed by two integers.
                                  Or, maybe they intend for there to be a single OSC address followed by two integers
                                  **/device/COLOUR/CTO NNN MMM**
                                  (Note that I've deleted the space between "device" and "/CTO" – making the address is valid.) In this case the type tag should be ",ii" as it already is in the picture you posted.
                                  So, I'm sorry to say, that this OSC message is invalid as far as I can tell. You should report this to the creator of DLIGHT. Please feel free to send them to read this post, as my follow up will give them useful information I think.
                                  Best Wishes,
                                  Mark

                                  Media Artist & Creator of Isadora
                                  Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Stephane_Morisse
                                    last edited by

                                    Happy to read this confirms my intuition...

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      celiomenard
                                      last edited by

                                      Thanks again mark. I've send your comment to Nicolas Bats (Dlight creator). He really thanks you and will change the osc adress for device. Best regards Célio.

                                      Isadora 3.0.7 USB key
                                      MBP 2017 13 inch Touch Bar
                                      4 ports thunderbolt
                                      MOJAVE

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