light2OSC

— music << camera << expression

2017 by Till Bovermann

Use a camera as a light sensor array. Configured for use with SuperCollider’s’ scsynth, writing directly to its first control buses.

light2osc samples incoming video into equal sized rects, computes their brightness, calculates difference values between two areas, and spits them out as an OSC message.

See the calculated values popping up in scsynth by running

s.boot;
s.scope(8, 0, rate: \control);

Start SuperCollider and light2OSC and control a simple sound like this

{Splay.ar(SinOsc.ar(200 + (100 * In.kr(0, 4)))}

Download it at github.