Scripting language suggestion for communication with Isadora and Ableton
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.
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.
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?
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...
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.