-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SonicPi REPL support #29
Comments
What's the first step to getting Sonic Pi connected to flok? I'm interested in looking into how to make this happen. |
Hi @carltesta , for starters, it would be nice to know if there is a way to send code to Sonic PI from another process, as in a REPL by writing to its standard input. I remember that SonicPi was written in Ruby so I think it should be possible, but I'm not sure if this is still the case (I know it has some bits of Erlang now...). I also don't have it installed right now, but I'll try to do that this weekend. |
Looking up how Troop communicates with SonicPi, apparently there is an OSC protocol for evaluating code in SonicPi: We can do the same, by creating a custom REPL class (e.g. Another thing to be aware of is that on SonicPI you usually evaluate the whole code instead of blocks or paragraphs (like in Tidal or FoxDot). |
Ok, I added support for Apparently as of Sonic Pi 3.1, the OSC Control Port number changes randomly at boot, so I had to make It'd be great if someone can help me test this! I have SonicPi installed only on a Windows machine (still not working), and a simple test on Linux and Mac would be nice to have. |
No description provided.
The text was updated successfully, but these errors were encountered: