I’ve created a Python library that talks to SuperCollider through OSC. So far so good. Everytime I start working with it, I need to start the sclang CLI, boot the server, etc… I’ve seen that there is quite a lot of modules made specifically to control SuperCollider from Python but they don’t seem to provide the type of interaction that I’m looking for.
I would like to setup something so that:
- an instance of SCLang starts whenever I import my lib in a Python interpreter.
- Random SCLang strings can be sent to the SCLang interpreter with stdout/stderr being reported in the Python console.
I guess that some of you might be working with Python already. Did you ever setup something like this? Were you able to achieve something similar?