Pitch and filter of a drumloop are controlled via two ambient light sensors, hidden at the bottom of two cans. The movement of my hands influences the amount of light detected by the sensors. Light data is read by a Raspberry Pi using the digital I2C protocol and transmitted to a Pure Data patch on the laptop via OpenSoundControl.

The light sensors permit a theremin-like control of signals while being quite stable in comparison with other sensor types. Usually, these sensor chips are used to control the display backlight of devices like laptops and smartphones.

The Raspberry Pi runs the latest raspbian wheezy distribution with the latest i2c-tools package.
The C-code and PureData patch can be found at this repositiory: github.com/janfreymann/lightsensors

See cpsnd.wordpress.com for more.

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…