Yesterday I was at the openeing of a new exhibition in the HNF where the canadian artist Todd McLellan was presenting his great photographs of taken apart devices. At this evening I met Tim Rodenbröker and Patrik Hübner, two media artists from Paderborn that create art by coding. We had a great chat and they were telling me about their bach-project, an exploration about visualizing the beauty of music.
I was thrilled by the idea, so I decided to give it a shot myself and to brush up on my processing skills. And here is the result: A visualization of Bachs famous prelude in c. The idea is to take the frequency of the left hand notes as a base (for the x-axis) and then visualize the ratio to the right hand notes using lissajous curves. While the left hand note is played, both frequencies are the same, which generates the line pattern. If the frequencies differ many different curves evolve, whose pattern depend on the ratio between the x- and y-frequencies.
The sketch itself is rather simple:
Here you can find the file with the notes and the frequencies.
If you like Lissajous curves, you should check out the small book about a device called harmonograph.