Archive - Jan 5, 2013
SuperCollider, Middletown Remix and Raspberry Pi
Submitted by Aldon Hynes on Sat, 01/05/2013 - 10:49At work, I've been speaking with people involved with Middletown Remix. As part of the project, I met with Ron Kuivila, who teaches electronic music at Wesleyan. His biography on Wikipedia mentioned SuperCollider, "an environment and programming language for real time audio synthesis and algorithmic composition". So, last night, I downloaded Supercollider and started playing with it.
I downloaded the Mac OSX universal image version 3.6.2 and started it up. It comes with documentation built in and it was fairly easy to get started. On my Mac, I had to use Shift-Return to kick off snippets of code. The server didn't appear as described in the documentation, but using s.boot; did the trick. The instructions saying to use Cmd-. to stop the sound weren't exactly clear. That's the command key and the period key.
Once I got that far, things started to come together really nicely, and I had my computer making some interesting sounds. Another bit of documentation that I found very interesting was How to Program in SuperCollider. It explained PBind which gave me the ability to play some tunes.
It took a little bit of remembering music theory, to get a scale that sounds half way decent.
(
Pbind(
\freq, Pseq([ 1/1, 9/8, 5/4, 4/3, 3/2, 5/3, 15/8, 2 ] * 440, 5),
\dur, Prand([0.2, 0.4, 0.3], inf)
).play
)
The next subject it looks like I need to explore is SynthDefs.
With all of this coming together, the next obvious question was, what other devices could I run SuperCollider on? There is a great blog post on SuperCollider on the Raspberry Pi. I plugged in my Raspberry Pi, loaded the SuperCollider program on it and tried to get it to run. It seemed to run okay, but the instructions talked about using Overtone to control the SuperCollider server, and I haven't gotten that far. Nor have I done anything with Synths yet, which is what I read about in the
It does seem like an exciting project would be to use a large number of Raspberry Pi's running SuperCollider, and perhaps some sensors to make them react to what is going on around them. This could be used to create a sound installation, perhaps similar to what Ron spoke about with his rainforest installation.
I also started playing with SuperCollider for Android. I got it to start and make a sound, but not do anything subsequent. Their page, How to control SC Android remotely didn't seem to work with my Android. and server remained listed as inactive. However, using the same commands to my Raspberry Pi, I did manage to get indication that the Raspberry Pi SuperCollider server is running properly.
That pretty much captures where I am with SuperCollider, Middletown Remix and Raspberry Pi this morning. It's time to get about my chores. If've you're playing with SuperCollider and/or Raspberry Pi, let me know what your up to.