Tempo estimator
Hit Play! This demo analyses the frequency content of the audio file, and plots it as white on black, with frequency on the x-axis (left for low-frequency sounds and right for high-frequency sounds).

Changes in the frequency content over time are calcualted (but not shown here), in an effort to estimate locations of onsets in the audio (e.g., drum hits, vocalizations).

Differences between adjacent onsets are then calculated and plotted in light blue, with time difference on the x-axis (in seconds) and count on the y-axis.

The peak around 0.45 sec suggests that the predominant inter-onset time in this audio snippet is 0.45 sec, corresponding to a tempo of 133 bpm (= 60/0.45). This is the tempo of 'Old Yellow Bricks' by the Arctic Monkeys.

This project was made possible with the help of Tone.js. The demo was coded by TJ Marrapodi as part of Dr. Collins' PSYC397 Seminar in Music Computing and Psychology.