instrument-a-day 14: corn music

I’ve always thought the patterns on corncobs looked like player piano rolls.  So I wrote a program that watches a slowly-turning corncob. Whenever a particularly dark kernel crosses the centerline of the image, it plays a note corresponding to the height.

You can download the Processing code from moonmilk.com/11/02/cornscan.txt.

Posted via email from moonmilk’s posterous