TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sonic Pi: Compose electronic music with code

280 pointsby liamdanielduffyalmost 7 years ago

16 comments

thisismitchalmost 7 years ago
Prior to my career as a software engineer, I attended RubyConf (2015, San Antonio) and watched a presentation about making music with Sonic Pi. That night, I made this rendition of &quot;Corridors of Time&quot; from Chrono Trigger: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;thisismitch&#x2F;be9287c80903cad151fe" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;thisismitch&#x2F;be9287c80903cad151fe</a><p>It took me way longer than I&#x27;d like to admit! Enjoy!<p>Edit: Here&#x27;s an MP3 export of it <a href="https:&#x2F;&#x2F;soundcloud.com&#x2F;mitchell-anicas-project&#x2F;corridors-of-code" rel="nofollow">https:&#x2F;&#x2F;soundcloud.com&#x2F;mitchell-anicas-project&#x2F;corridors-of-...</a> for easier listening.
评论 #17633595 未加载
评论 #17634040 未加载
eggyalmost 7 years ago
Sonic Pi is pretty cool. I really liked Overtone because I like LISPs, so I have chosen Extempore to do my electronic composing [1].<p>I first started with CM (Common Music), which also has a one-click download for Linux, Mac and Windows. It also has somewhat of an IDE called Grace, &quot;Grace (Graphical Realtime Algorithmic Composition Environment) a drag-and-drop, cross-platform app implemented in JUCE (C++) and S7 Scheme.&quot; [2] The birds example is amazing! They build up a very real-sounding bird call from scratch.<p><pre><code> [1] https:&#x2F;&#x2F;extemporelang.github.io&#x2F; [2] http:&#x2F;&#x2F;commonmusic.sourceforge.net&#x2F;</code></pre>
salimmadjdalmost 7 years ago
At first glance this looks very cool. There is a lot of good documentations and it seems like a powerful set of libraries around it to make something very neat.<p>BUT...to put my PM hat on, I&#x27;m not sure who is the target audience here?<p>A - musicians who want to compose music with code. B - people who want to learn programming by having fun with music creation. C - programmers who want to learn music theory.<p>If the intention is a fun vehicle to to teach programming, then I think there are better ways. I looked thought the samples and I think as a kid I would get tired very quickly. There are so many function calls to learn. Right away I have to understand the concept of random and what it does.<p>I think if the idea is to empower musicians, this seems like a lot of work to create music.<p>At the end, you have to know some music principle and already understand a lot of different programming concepts to actually do anything.<p>This combination makes doing programming dependent on knowing music theory and creating music knowing a lot of programming and exploring all the different functions and libraries to then apply your music theory to.<p>To me it would be frustrating. And for musicians who I guess, can potentially create some sounds that might be difficult with existing tools, just to hard to do.<p>It would have been far better to have a simple 2D game board (tanks, robots, etc. I know it&#x27;s been done) as a programing tool than inside a complex world of music theory.<p>Or at least make the libraries not dependent on music theory and provided some higher level presets with built in abstractions. Example: loop song(type: techno_beat, length:300) (do some stuff here) end_loop<p>Make the user feel like superhuman musicians.
评论 #17634172 未加载
评论 #17634258 未加载
评论 #17634043 未加载
评论 #17635039 未加载
评论 #17634257 未加载
评论 #17634462 未加载
评论 #17644517 未加载
评论 #17636280 未加载
评论 #17650255 未加载
评论 #17634221 未加载
Gormisdomaialmost 7 years ago
I played with sonicpi for a while and it was fun until I hit the limitations of my severely lacking music theory knowledge.<p>I feel like all the best tutorials are written for people who are good with music but need to learn to code. Anyone out there have any good resources for using sonicpi to learn more music theory as a coder?
blubb-fishalmost 7 years ago
i am very excited by the idea to create music by means of programming. but it seems that there isn&#x27;t even a single project with an active community. supercollider seems to be the most popular with regard to GitHub stats. Sonic pi seems to be the most recent endeavor in this area. but it doesn&#x27;t offer any deb-packages. compiling for Debian&#x2F;Ubuntu seems to be not documented.<p>my impression is that this is coming up every couple of years but nobody so far succeeded at actually producing a system that gains meaningful popularity. not to mention how difficult it was too compile&#x2F;set up the software for the various projects i have tried.<p>another problem is that very few YouTube tutorials showcase rythms and melodies going beyond something resembling a ping pong match on speed.<p>would love to hear your opinion.
评论 #17634050 未加载
评论 #17633889 未加载
评论 #17633926 未加载
评论 #17633837 未加载
评论 #17634886 未加载
greptasticalmost 7 years ago
What I&#x27;d like to see (or find, perhaps it&#x27;s out there) is something that&#x27;s based more on triggering loops and samples (with optional processing) as opposed to synthesis.<p>Earsketch sort of looks like what I&#x27;m looking for, but it&#x27;s web only and I can&#x27;t much get it to run?
newnewpdroalmost 7 years ago
Related:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ChucK" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ChucK</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=2rpk461T6l4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=2rpk461T6l4</a>
exabrialalmost 7 years ago
I took a shot at it: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mPUgcUUB298" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mPUgcUUB298</a>
pmoriartyalmost 7 years ago
I used to program music (algorithmic composition) using Common Music.[1] It allowed me to program in my language of choice, Scheme.<p>Unfortunately, last time I tried a few years ago, I couldn&#x27;t get it to compile.<p>Does anyone know if there&#x27;s another good Scheme alternative to it that doesn&#x27;t have a mountain of dependencies?<p>[1] - <a href="http:&#x2F;&#x2F;commonmusic.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;commonmusic.sourceforge.net&#x2F;</a>
dpeckalmost 7 years ago
Sonic Pi is awesome, my son has a great time going through the great tutorial and riffing on the examples a bit. But when we were done with the tutorial I was (and still am) a bit lost as to where to go next. I don’t have any understanding of music theory and Sonic Pi seems like a great way to learn the basics of it, but I couldn’t find anything that occupied that next step after the tutorial.
marcelralmost 7 years ago
Sonic pi is great, I used it live as part of a noise &#x2F; ambient music project I do. It really feels like just using a DAW but having more control and much faster. Unfortunately I fell off it, because I struggled with Linux audio so much and just gave up at some point. But it&#x27;s good fun and more than a toy for sure.
max_almost 7 years ago
Related project here<p><a href="https:&#x2F;&#x2F;naivesound.com&#x2F;glitch-orig&#x2F;#t*(42%26t%3E%3E10)" rel="nofollow">https:&#x2F;&#x2F;naivesound.com&#x2F;glitch-orig&#x2F;#t*(42%26t%3E%3E10)</a>
boucaronalmost 7 years ago
It is pretty neat and the main coder is doing pretty cool demos. It is not easy to master it, it reminds me the cool time of modules on Amiga and its magic woaaa effect.
krylonalmost 7 years ago
Aaah, I have been meaning to play around with this program for a few years now, but I never get around to it.<p>The idea, though, is really, really cool!
ponytechalmost 7 years ago
How hard would it be to embed this into an other app?
评论 #17633242 未加载
beamatronicalmost 7 years ago
Does anyone remember Instant Music on the Amiga?