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: Make Music Using Ruby

111 pointsby stevekinneyover 10 years ago

7 comments

samaaronover 10 years ago
For more background on Sonic Pi:<p>* talk: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=e_CQpFaTGyw" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=e_CQpFaTGyw</a><p>* interview: <a href="http:&#x2F;&#x2F;blog.cognitect.com&#x2F;cognicast&#x2F;2014&#x2F;10&#x2F;21&#x2F;066-sam-aaron" rel="nofollow">http:&#x2F;&#x2F;blog.cognitect.com&#x2F;cognicast&#x2F;2014&#x2F;10&#x2F;21&#x2F;066-sam-aaron</a><p>* music video: <a href="https:&#x2F;&#x2F;vimeo.com&#x2F;110416910" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;110416910</a>
zingarover 10 years ago
Being able to listen and see how changes to the waves make a difference to what I&#x27;m hearing is interesting for me as an amateur musician with some understanding of the physics, but I wonder how well this works for kids in this classroom environment. Are they actually being taught synthesis, or are they rather being taught to make music and treating each piece of code as an instrument where they change what notes it plays rather than what it does?<p>I can see how the automated synthesis could be more appealing than classical instruments because they sound like what one hears on TV or radio, and doesn&#x27;t need years of practice for good technique.<p>Is there an advantage to showing kids the actual numbers though? And how effective are these numbers compared to &quot;conventional music&quot; concepts like BPM and named notes of a scale (even if they are just named, 1st, 2nd, 3rd or do re mi - and even if the scale is not assumed to have 8 notes).<p>If I&#x27;m reading the list of contributors right it seems like these are musicians rather than computer scientists, so it would be interesting to hear from them.
评论 #8826451 未加载
jimmover 10 years ago
I&#x27;ve been playing with Sonic Pi and loving it. It&#x27;s by Sam Aaron, the same person who wrote Overtone (<a href="http://overtone.github.io/" rel="nofollow">http:&#x2F;&#x2F;overtone.github.io&#x2F;</a>), a fantastic Clojure wrapper around SuperCollider (<a href="http://supercollider.sourceforge.net/" rel="nofollow">http:&#x2F;&#x2F;supercollider.sourceforge.net&#x2F;</a>) that adds many higher-level features. Right now, Sonic Pi looks to be a bit more limited than Overtone (more choices made for you, less access to low-level features) but I have a feeling that will change over time.
评论 #8826454 未加载
yebyenover 10 years ago
At a Nickel City Ruby conference last year I saw Dabit play a live-coding music demo with the Banjo gem, and it was awesome:<p><a href="https://github.com/dabit/banjo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dabit&#x2F;banjo</a><p>I unfortunately can&#x27;t find any video of it, but he was using a trick that was either inside or out of the Banjo gem to get the code files to reload each time he saved them and change the tune in real-time. It was awesome, even when he had a syntax error and the music stopped for a minute, he went with it, said &quot;Oops&quot; and fixed it, moved on, everyone laughed! Live coding music that was really a lot better than I would have imagined, having never seen anyone live-code music before.
TobbenTMover 10 years ago
For some extra musical-coding-inspiration, watch the wonderful Andrew Sorensen: <a href="https://www.youtube.com/watch?v=yY1FSsUV-8c" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=yY1FSsUV-8c</a>
cpursleyover 10 years ago
Timely! We&#x27;re adding a Sonic Pi track to our monthly CoderDojo (<a href="http://www.coderdojohenry.com/" rel="nofollow">http:&#x2F;&#x2F;www.coderdojohenry.com&#x2F;</a>) to help kids learn programming concepts while synthesizing music. The graphical desktop app is quite good and is not dependent on Raspberry Pi making it easy for anyone to download and use.
bentonaover 10 years ago
Another cool live-coding music platform, in Haskell: <a href="http://yaxu.org/tidal/" rel="nofollow">http:&#x2F;&#x2F;yaxu.org&#x2F;tidal&#x2F;</a>