Start & Stop SonicPi from Command Line


i’m working on a Unity project with Sonic Pi integration. For this i’d like to start SP when a scene is started. With Supercollider this was relatively easy, starting a new process: sclang.exe myscript.scd
Does SonicPi support this in a similar way?

Thank you very much

1 Like

It doesn’t officially support this at the moment, although I believe there may be plans to add something like this in the future.

However, there are a number of third party tools that can help you with this. I maintain one of them here: but if it doesn’t work for you, you should be able to find others by searching on these forums (or open an issue and I’ll see if I can fix it).


Sad to hear that it’s not possible off the shelf. But i do understand that the available development resources are focused on the most important stuff. Your Python project looks promising, except i rely on Windows and the start-server command is specifically excluded. I see you’re working on this particular issue, i’m, holding my breath and hope for the best.