News for hackers. Stuff that matters.
Re:Sonic Pi is a code-based music creation and performance tool by nkozyra on Tuesday May 05, 2020 @07:40AM (#23078942)
This reminds me a great deal of Supercollider, which is pretty robust and time-tested.

One of the things that bothers me about Supercollider is its weird server architecture and esoteric language. I'll take Ruby over that, but these things really beg for APIs that let you hook in with other languages.

Re:Sonic Pi is a code-based music creation and performance tool by delineator on Tuesday May 05, 2020 @07:48AM (#23078982)
In Sonic Pi you can send and receive MIDI messages and OSC messages to interoperate with external synthesiser hardware and software.

Sonic Pi comes bundled with SuperCollider. The Sonic Pi server calls out to SuperCollider to play samples, synth tones, and apply FX. See the slightly out of date diagram here for details: https://delftswa.gitbooks.io/desosa2016/content/sonicpi/chap...

Re:Sonic Pi is a code-based music creation and performance tool by nkozyra on Tuesday May 05, 2020 @08:32AM (#23079295)
You can handle midi in/out/thru natively in supercollider, too.
Re:Sonic Pi is a code-based music creation and performance tool by jweather on Tuesday May 05, 2020 @08:55AM (#23079491)
Sonic Pi is a friendly Ruby face on the Supercollider engine, so the family resemblance is no coincidence. I'm not sure what a universal API would look like, but you can easily build Sonic Pi sketches to take in things like OSC or MIDI from other programs or peripherals.