• 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

    Scripting language suggestion for communication with Isadora and Ableton

    Interfacing
    3
    6
    2583
    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.
    • A
      azs last edited by

      I'm working on an art game type thing and would like to script all of the complex logic in another language and then send values to Isadora to trigger/control video and effects.  I was thinking about using Lua (because I know it well) or python and sending values over OSC.  I could also use the javascript actor, as long as I could call functions that are in other files.  Or I could try to create a plugin for communicating with python or lua, if these don't already exist.  I'll also need to send the same data from the scripting language to ableton live or send it from isadora to ableton.  Any suggestions on the pros and cons of these approaches or suggestions for ones I haven't thought about would be great. Thank you!

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

        I'm not sure of Ableton's OSC support. If it still doesn't have great OSC support it may be easiest to chain your events like: your-app output OSC to Isadora, Isadora output midi to Ableton.

        As far as scripting... I think either lua or python will work well. Both have OSC support , and I think OSC is your best choice. If it's just game logic and OSC I would use what you are most comfortable with.

        Something else I have done before is to create a python based django project, and create a Rest interface to it. If you can structure your game logic to work in this way, its easy enough to communicate with your web app (django) via the Isadroa TCP IP actors. If you need to have scheduled tasks running you can add Celery into the mix.

        Anyway... just another possible approach.

        Creating a scripting interface for lua or python will be a major challenge (I have struggled with getting these libs to work with the sdk). Also the way they would work would most likely require that small independent scripts be run. Where your project would likely be better served by parallel running process/s.

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

          You can use this https://www.ableton.com/en/pac... or in general making stuff in max for live will give you a lot of control. There is also this addon for openframeworks https://github.com/james-store... (check out the various forks, this is the last updated). This has some good functionality but not complete, it is made with the API and should be a great start to getting something fast.

          http://www.fredrodrigues.net/
          https://github.com/fred-dev
          OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
          Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

          1 Reply Last reply Reply Quote 0
          • A
            azs last edited by

            Great!  I will use Lua with OSC to Isadora and either midi to Ableton or Max for Live depending on the type of data I need to send.  What is the best OSC library for lua?

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

              @azs

              Sorry, I don't have as much experience with Lua. But my experience is that Rocks are easiest to work with, so I would try https://luarocks.org/modules/g...


              If you are not set on the audio tool. I use https://www.renoise.com/ (i'm not a musician, but I play with it :). In anycase, it has Great OSC support, and a full Lua scripting environment.
              You could probably build your game engine within it, use its audio capabilities, and send OSC, Midi etc.. (just another option)
              Details on the Renoise scripting environment: https://github.com/renoise/xrn...

              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.

              A 1 Reply Last reply Reply Quote 0
              • A
                azs @DusX last edited by

                Cool.  Thanks for all the help.  I am working with a composer who works with Ableton but I will check out renoise for future reference.

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