• 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

    Displaying live polling results from a website via Isadora

    Interfacing
    10
    22
    12341
    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.
    • eight
      eight last edited by

      @DusX

      I just played with this module. It took me about 10 min to setup a _Hello OSC_ app talking to Isadora starting from scratch. Here is the writeup for OSX.
      1\. Install node.js by either building from source or downloading a current *.pkg file from _http://nodejs.org/dist/latest/_
      2\. Install dependencies: in terminal execute consecutively 
      _npm install osc-min_
      _npm install jspack_
      _npm install node-osc_

      3. Create a hello-osc.js file with the following content:

      _var http = require("http");_
      _var osc = require('node-osc');_
      _var client = new osc.Client('127.0.0.1', 3333);_

      _http.createServer(function(request, response) {_

      _  ** client.send('/isadora/1', "Hello OSC");**_

      _  response.writeHead(200, {"Content-Type": "text/plain"});_

      _  response.write("Hello OSC");_

      _  response.end();_

      _}).listen(8888);_

      4\. In terminal, run the _hello-osc.js_ in _node.js_ server like so:
      _node hello-osc.js_

      5. In Isadora patch add a OSC Listener actor, set the message type to text.

      6\. Point your browser to http://localhost:8888
      7\. Observe the _Hello OSC_ message both in browser and Isadora's _OSC Listener actor_.
      --8

      Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
      Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
      Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
      MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

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

        A organized listing of many available web API's: http://api-portal.anypoint.mulesoft.com/apis

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
        • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

        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
        • djinoui
          djinoui last edited by

          OK, now I think I'm starting to see the point. I also suppose an interesting thing to work on is building your own API on your own site, thus being able to display user posts with Izzy. Exciting!

          Computer: Asus N76VZ PC, Windows 7x64, Intel I7, 6G RAM, Isadora v1.3.1f06
          Isadora SDK dev computer: VirtualBox PC, Windows XPx32, 2G RAM, Isadora v1.3.1f06

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

            i'm working on a project at the moment - by this time next month we should have a system that enables an audience to collaborate in the creation of a dance work, and then control the lighting, sound and video - all from a web app running in their phones' browsers. its some Javascript node library to OSC into Isadora.

            John Collingswood
            taikabox.com
            2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
            plus an old iMac and assorted Mac Minis for installations

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

              @DusX
              Thanks a lot for the tutorial.

              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
              • Skulpture
                Skulpture Izzy Guru last edited by

                Thanks @DusX!!

                Graham Thorne | www.grahamthorne.co.uk
                RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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

                  @DusX wait for part two, nice one.

                  Has anyone tried OSC PHP, and develop interactive Web browser control.html, unidirectional….  it works. :)

                  thx

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

                    I currently have been using a php Framework 'silverstripe', it allows the quick creation of a REST api, for any data types defined.
                    In this manner, Isadora has a mySQL backend. Moving to a node.js solution might be the way I go for future works though.

                    Troikatronix Technical Support

                    • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                    • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                    • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                    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
                    • DusX
                      DusX Tech Staff last edited by

                      Another thing I want to test, but haven't yet, is using tcp as a method of launching other executables locally. I imaging the possibility to launch for instance OpenFrameWorks projects, via tcp (python script) and closing them when finished. Perhaps one scene uses Duration, and it needs to be opened. I am hoping to test this in the near future.

                      Troikatronix Technical Support

                      • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                      • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                      • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                      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
                      • particlep
                        particlep last edited by

                        i'm interested in this, am going to attempt to have a play and see what i can do 

                        @dbini how is your project progressing ?

                        isadora v3.0.7
                        mbp 2.6ghz i7
                        mac osx 10.12.6
                        dyslexic.

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

                          Hi Andrew @particlep,

                          we tested the system in a performance a couple of weeks ago. we had the audience sending in stories that were moderated and then displayed in a custom web app using CSS, this was syphoned into Isadora via CEF. then later in the evening, we sent individual audience members a slider to control sound, light or video. this went through nodeJS and was converted to OSC, straight into Isadora for video, through LanBox actors for lighting and MIDI out to Ableton Live for sound manipulation.
                          the server crashed a couple of times, but he OSC stuff worked nicely. we're changing a lot of the structure of the event and testing again at the end of June.
                          hope you're well and keeping creative,
                          john

                          John Collingswood
                          taikabox.com
                          2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
                          plus an old iMac and assorted Mac Minis for installations

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