Live data from Hacker News

Sonic Pi is a code-based music creation and performance tool

sonic-pi.net

31–40 of 70 posts

Re: Sonic Pi is a code-based music creation and performance tool

#31
I know Sam (the creator) and can vouch that he's a good guy and a bit of a legend.

He hasn't had the easiest of rides when it comes to sustainable support for his work. I'd encourage folks to contribute here: https://www.patreon.com/samaaron (he'll certainly do wonderful things with such support).

Re: Sonic Pi is a code-based music creation and performance tool

#32
post #14

What's the advantage of a "code-based" music creation respect of the classic one musicians use?

you can translate your thoughts into sound without having to have any sort of manual dexterity or years of practice

I agree.

I spent years of my childhood learning to play the piano. I did not have the patience to practice four hours a day , so I never became more than moderately proficient.

And learning to play an instrument does not necessarily mean learning to create music. While playing off sheet music and focusing on dexterity exercises can be rewarding, they are not creative activities.

With Sonic Pi you can focus on music creation and simple programming concepts. It is rewarding in a different way.

Re: Sonic Pi is a code-based music creation and performance tool

#33
post #2

Looks really nice, I'll be sure to try it out! For people interested in this, there's also a recent project https://github.com/overtone/overtone which looks similar, using Clojure though (which seems to deem itself better to live programming).

There is also Andrew Sorenson's [1] Extempore [2] which is also a Lisp. [1] https://twitter.com/digego [2] https://extemporelang.github.io/

Yep. In fact, lisps tend to pop up quite a bit in livecoding (and in other places, really).

https://github.com/toplap/awesome-livecoding is a nice curated list of live coding languages and tools.

Re: Sonic Pi is a code-based music creation and performance tool

#34
post #2

Looks really nice, I'll be sure to try it out! For people interested in this, there's also a recent project https://github.com/overtone/overtone which looks similar, using Clojure though (which seems to deem itself better to live programming).

In addition to Sonic Pi, I've also enjoyed experimenting with @neauoire's [0] Orca[1] and @yaxu's [2] TidalCycles[3].

Orca[1] is like a moving 2D functional programming crossword puzzle for generating sequences, be sure to watch some tutorial videos to get started.

TidalCycles[3] is a lovely way to very concisely and quickly generate looping patterns of samples and tones, still getting my head around it.

[0] https://twitter.com/neauoire

[1] https://hundredrabbits.itch.io/orca examples on twitter: https://twitter.com/hashtag/ORC%CE%9B

[2] https://twitter.com/yaxu

[3] https://tidalcycles.org/ examples on twitter: https://twitter.com/hashtag/TidalCycles

Re: Sonic Pi is a code-based music creation and performance tool

#36
post #25

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.

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...

You can handle midi in/out/thru natively in supercollider, too.

Re: Sonic Pi is a code-based music creation and performance tool

#38
post #25

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.

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.

Re: Sonic Pi is a code-based music creation and performance tool

#39
post #4

Oo! I will maybe check this out. I've explored Supercollider and thought that was v interesting, though a bit tedious to jump into actual music making with for me personally.

Please do check it out. Supercollider is like walking into a fully-stocked machine shop with a comprehensive 9000-step guide to building your own car. Sonic Pi is like a go-kart with the engine already running. It's very approachable, and with Supercollider on the back end, incredibly capable.

Re: Sonic Pi is a code-based music creation and performance tool

#40
Sonic Pi is an instrument designed for optimal usability by a ten year old, while using text-based syntax just like a normal programming language.

I have seen a 9-year old reinventing nested loops with it, just because that's what she needed to make a tune.

The install and learning curve is as flat as it gets, there's no excuse for not trying it if you are curious.

Post reply on HN