What's the total number of "r"s in:
Those that can play music, play. Those that can’t, cheat.
As part of my nightly piano key mashing sessions when I’m bored, I usually try to pick apart the notes of modern songs for my amusement. Usually I don’t get very far because having given up piano lessons years ago, I never picked up a musician’s ear. So this time, after getting hung up on an Anberlin song, I decided to finish a side project that I’d abandoned due to coding frustration. It was a remnant of the Conducting (of an orchestra) Robots course, where one of the tangential brainstorms of my group was to devise a way for our robot conductor to follow along with what it was hearing. We never got far, because we were using a language called ChucK, which was very unfamiliar and only moderately well documented.
After scanning through code libraries in Processing, I discovered a few functions that did everything ChucK did, but natively supported in Processing, so I didn’t have to port data from one language to another via OSC. It’s called Minim, and it does one important thing: Forward Fast Fourier Transforms. Using the FFT, I can take an audio sample (read: Music) and break it down into its basic frequencies. These frequencies correlate to notes (on a piano) which I rigged to display in a crude visualization.

user
There are 63 "r"s.
assistant