Interesting idea, and thanks for pointing out Lua. Seems like it really shines when it comes to ease of embedding, which is known to be a nightmare with Python.
I never paid much attention to Lua as a language, and looking at examples a lot of stuff feels quite weird. This is by no means objective of course, as I work with Python almost every day, and don’t recognise it’s quirks any more. This said, I’ve done generative music in Python, and it was an extremely smooth experience, especially due to things like generators, the
random package and the vast landscape of libraries. I’d love to convince a few people to give it a try, as most seem to consider it exotic.
Given the feedback and alternatives in this thread so for, I probably won’t follow up on the original idea. If I’m to start a module of my own, it would probably be a fork of TrowaSoft’s OSC module, which provides a reasonably smooth bridge to Python so far.