«first  …9 10 11 12 13 14 15 last»

redShift Excerpt

2012-05-11 09:20:32 supercollider

A short excerpt from a rehearsal. It is made with the patch I played at the SuperCollider Symposium 2012 club night (Corsica studios, London).

It's controlled with my custom controller redThermoKontroll

One Reason Why I Love SC

2012-05-08 14:37:00 supercollider

140 characters...


If we run this line in SuperCollider we hear this...

and using Rohan Drape's great rd_dot quark and swap play{} with draw{} in the line above, this mess gets revealed...


So with a single line of code - short enough to fit in a twitter tweet - we've built this amazingly complex sound synthesis patch. I can not imagine a system with greater code-to-noise ratio than SuperCollider.

And this one is pretty fun to .draw as well...


A heavily recursive patch that looks almost fractal. The PDF file generated from this line of code is 300kB! The number 6 in the code means recursion depth and 60 is the base frequency.

To run the rd_dot quark in SuperCollider on a mac you'll need Graphviz (I use 2.28 on my OSX 10.6.8). You also need to make sure the resulting .dot files open automatically in Graphviz and not Photoshop, Word or something. (Get info on a .dot file in Finder and change all filetypes to open with graphiviz. You'll find the .dot files from rd_dot in your hidden /tmp directory)


Analogue Video In/Out on a Recent MacBook Pro

2012-04-22 11:35:33 other

For a project, I needed to take in and send out realtime analogue (composite) video. Analogue video input has always been a problem, but on recent laptops, Apple even removed the video output via DVI adapter option (i.e. there is no DisplayPort to video/s-video adapter).

So after experimenting and going through some old hardware I had laying around, I found a solution using two devices that I last used around 10 years ago.

  • dfg1394 bus-powered s-video/composite video to uncompressed firewire converter from The Imaging Source (firewire version no longer available).
  • Mac OSX drivers for the dfg1394 from Outcastsoft. Works with MaxMSPJitter etc.
  • an old TView Gold scan converter from Focus enhancements. Used in combo with a 5V power from USB hack and a DisplayPort to VGA adapter.



2011-10-03 14:02:22 electronics

Wireless sensor for embroidery.

The sensor is a tilt-compensated compass i.e. a 3D accelerometer in combo with a 3D magnetometer. Compared to my other wireless boxes, this one runs on 3.0V (two AAA batteries) and not 3.6V. This due to the LSM303DLH sensor's lack of onboard voltage regulators and 1.8V I2C data lines.

The ATmega168 has an Arduino sketch loaded as firmware and is using the internal 8 MHz oscillator. So the circuit is pretty minimal.

As part of the project knyppel with Ann Rosén. Also, see this post.

broderi photo1broderi photo2

Schematics, Arduino firmware, parts list, MaxMSPJitter patches, SuperCollider class attached.


Soft Modem

2011-09-29 16:42:50 electronics, supercollider

This summer I build 8 small circuits that can control a bunch of LEDs (6 channels PWM) from basically any iDevice or Android phone. The circuit connects to the audio jack of the phone and uses the right channel to send data commands (in the form of a modem signal).

We use rjdj (and Pdlib, SuperCollider, etc) to generate the data signal on the phone in realtime. And it's relatively easy to connect for example the built-in accelerometer in the phone to control some LEDs, or to run amplitude/pitch tracking on the microphone and let that flash some LEDs.

The circuits will be used in the rhyme research project as well as in the upcoming e-textile workshop in Oslo (Oct 2011).

softModem photo1softModem photo2softModem photo3softModem photo4

The design is based on SoftModem by arms22. Attached below are my schematics, Pd FSK abstraction and Arduino firmware.

The modem signal is generated using Frequency-shift keying and here's how to do that in SuperCollider...

c= "how are you?";
{var t= 1/1225; var m= Duty.ar(Dseq([t*100]++t.dup(11*c.size)), 0, Dseq([1]++c.ascii.collect{|cc| [0]++(cc.asBinaryString.ascii-48).reverse++[1, 1]}.flat), 2); SinOsc.ar(m*(7350-4900)+4900)!2}.play(fadeTime:0);

This will send the characters "how are you?" at a baud rate of 1225. This is of course not a valid command for the circuit above, just something to demonstrate how it sounds. below is an MP3...



2011-06-29 23:11:26 electronics

Wireless lace pillows. In collaboration with Ann Rosén.

See knyppel.se.

knyppel photo1knyppel photo2

Schematics, firmware, parts list, MaxMSPJitter patches, SuperCollider class attached.


  • 110928: removed light sensor and added 2 more sliders, added SuperCollider class


2011-04-25 11:33:44 electronics

Things to do with an iPod case... Instead of throwing it away, I took some spare parts and built a new synth based on my monijonsyn2. The new synth has a push-button and one can now step through a few different programs. And the 2-way switch set different 'modes'. In this 1.0 version, there is only 3 programs and 2 modes.

The programs basically just map the 3 analogue inputs differently, and the modes switches left/right output channels.

It's very cheap and easy to build. 2 AA-batteries provide power, the inputs are 3 touchpoints, 2 potentiometers, 1 button and a combined on/off/mode switch. All the sound generation (2 PWM pins) and program logic happen inside the 8bit AVR ATmega8 chip and the code is easy to hack (see main.c in the zip below).

Todo: add more fun programs to the firmware

monijonsyn3 photo1monijonsyn3 photo2monijonsyn3 photo3monijonsyn3 photo4

monijonsyn3 schematics

Simple one-bit synthesizer based on the ATmega8 chip. On the top are 3 touchpoints that influence the sound.


  • 200313: moved the video from Vimeo to here

«first  …9 10 11 12 13 14 15 last»