Live data from Hacker News

Sonic Pi v5

patreon.com

101–110 of 110 posts

Re: Sonic Pi v5

#101

How does it compare to https://strudel.cc/ ?

For starters, strudel runs in the browser while Sonic Pi is a stand alone application.

While Sonic Pi is primarily a stand alone app Sam has recoded the sound engine to run in web assembly too. Visit https://sonic-pi.net/tau/ and have a look

Re: Sonic Pi v5

#102

Someone needs to introduce this to an AI model. Have agents recreate music from scratch! :)

I feel like Cursor Tab functionality would be more enjoyable to use instead of writing the code entirely from a prompt, but that's just me.

Re: Sonic Pi v5

#103
post #5

This looks like a lot of fun. I wish they'd name it better though, the name makes me think it's a raspberry pi related thing. or a piece of hardware.

Yeah, immediately confused with Zynthian, which is a RPi-based hardware and software platform.

https://zynthian.org/

Re: Sonic Pi v5

#104
The ChucK comparison holds for the language, but Sonic Pi's draw was always the live-coding loop with a beginner-friendly editor bundled in.

Re: Sonic Pi v5

#105
post #41

Earlier quoted context omitted.

Hi Sam, big fan of you and your work! Does this mean I just don't understand how to use the existing UI? I'm often messing around with a bunch of chords and sounds and I quickly run out of scratch space. Does that mean I'm doing it wrong?

What do you mean by “running out of scratch space?” Do you mean your code was too long that Sonic Pi refused to run it? If so this has been addressed in v5 with much larger buffer sizes supported. Or do you mean you ran out of buffer? In which case v5 helps again as you can now save and load all the buffers to and from a single save-file :-)

I think I was not using sonipic buffers correctly (I guess they are called "tabs" in the UI). I've been using them without saving the files. I have struggled to think of it as an "editor" only because of things I'm used to with emacs: git+magit, elisp, customizable hotkeys, etc.

Basically, I have been only using the tabs as a location for experiments (not something that can be persisted as a file and loaded/unloaded), and when I run out of empty ones, I was simply commenting out the old experiment, and adding new ones. It is not ideal, but comes from my own mental limitations.

My problems are not unique to Sonic Pi: as I use AI more for experimentation, I'm struggling with how I pipe AI output to an editor, whether that from CLI tools like agy or opencode, or terminal editors like emacs. Nothing feels right, yet. For example, I have been using agy to generate sonicpi code, but then I copy and paste it. I laugh at the joke used to be stackoverflow -> copy buffer, now it is AI agent -> copy buffer.

But, is there a better way to do it than using agy with a prompt, then copying that into a tab in Sonic Pi? Copying into a bunch of different text fields is my new reality, and I don't love it.

Sonic-Pi should probably come with a warning that is isn't a good tool for dinosaurs like myself! But, it actually IS a great tool for dinosaurs, it just won't fix the tiny reptilian brain of the dinosaur.

I like the new features around saving multiple buffers to a single file, and think this will help.

And, the REPL example is exciting. I'm excited to build my own UI just as a thought experiment.

Thank you again for Sonic-Pi. It is a fantastic tool!

Re: Sonic Pi v5

#106
post #82

Is it just me or does the “Pi” branding give the connotation of “underpowered, expensive and hobbyist quality”? Suggest you drop the Pi name in your next project.

Yes, it's probably just you.

Re: Sonic Pi v5

#107

Earlier quoted context omitted.

Fair - the aggregate clause does say “larger program” so I overstated. However, it doesn’t define combination, and “based on the Program” is defined in section 0 via copyright permission - which is why I keep returning to copyright rather than mechanism. The JS client doesn’t call into scsynth code. In postMessage mode the client and the engine run in separate execution contexts with no shared memory, exchanging seri…

> In postMessage mode the client and the engine run in separate execution contexts with no shared memory, exchanging serialised OSC - the browser enforces that boundary the same way the kernel does between processes on a socket. You won't convince anyone that a WASM module running in an AudioWorklet should be considered a separate application. If you respect the SuperCollider project, you should also respect its lice…

Good points -I’ll clarify the LICENSE along those lines when I’m back from a family holiday. I’ll also look to move the recommended web deployment to an isolated-origin model with the same separation as the native out-of-process case.

Worth noting for context: SuperSonic is quite a bit more than the scsynth module - both it and the Link module are optional. A build without them contains no GPL code and carries no GPL obligations.

Re: Sonic Pi v5

#110
post #37

I love Sonic Pi. I am a terrible musician but I really enjoy finding chords for a song and then putting them into a sonic pi buffer and messing around. U2 started as a cover band, right, so maybe this is a path to becoming musical someday. The one thing that confuses me about Sonic Pi is the buffers/editor. I always wish I could replace the UI with my own embedded editor (emacs in my case). I would then be able to ma…

Firstly, don't be too self critical of your music making. Doing something is key. You're doing it. You are finding your path. Your path is unique to you, and everything you bring to it and discover along the way shapes how that path meanders. Use what you got and just keep doing.

Second, take a look a PureData. Specifically the variant called PlugData, because it is a little easier to use because of the extensions that it includes, nicer UI, and it can run as a plug-in and integrate with other your DAW, or other software.

I've been using Pd off and on for about 20 years and I still feel I don't know it. I learn just enough to get done what I need to get done. I use it for control system for drone motors that I use to make music, both using a rotary magnetic bow, and as servo drumming actuators. I've also used it for sound and rhythm synthesis for performances.

PureData is an incredible tool for creative building. I'm also using it for a project at a university lab to make an assistive guitar for disabled musicians by running compiled PureData on a Bela Gem Multi. You can even use Pd on a Daisy Seed to make custom effects pedals or synth modules. Anyhoo, check it out. It is a wonderful playground for the mind.

Post reply on HN