Evan bio photo

Evan

Noticing Birds.

Email LinkedIn Public Key Github

I recently found a phonograph abandoned on the sidewalk. The little record player was badly damaged; no needle, cracked tonearm, snapped belt, and completely soaked.

After a couple of days to dry out, and super glue to the belt, the phonograph could spin, but not play a record.

Rather than try to restore the phonograph, it could be repurposed. The old case has lots of empty space, and could possibly hold a raspberry pi, and the tonearm could hold a camera that reads records optically. Carl Haber over in Berkeley builds an optical record player, irene in 2007. Irene is a very high-end archival devise that’s used by museums to digitalized damage records.

Building on the concept of an optical record player, I’ve been working on a phonograph that makes music out of tree-rings. Right now, I’ve used html5 canvas to emulate a phonograph. So far, the emulator can load a ‘record’, ‘spin’ the record, and has a ‘tonearm’ that moves toward the center and stops. As the record spins, the needle reads 20x20 pixels, and the code I wrote generates pleasing notes. Right now the music generation is very simple. Are we over the cross-section? Then play a note based on the color of the top half vs. middle of the area under the needle.

Demo

The 'reader' square is one frame behind the player
The needle square is updated every 20ms, while the top left square is updated every 200ms, making the reader square and area being played look out of sync.

Repo - https://github.com/Eunoia/cvPlay/