News for hackers. Stuff that matters.
Re:Beat Detection Using JavaScript and the Web Audio API by analog31 on Friday August 01, 2014 @11:12PM (#8123884)
Nice write-up. Thanks!

I wonder if the algorithm can adapt to recordings where the tempo isn't quite constant.

Amusingly, I first read "beat" as a verb in your title, and was expecting something cloak-and-dagger.

Re:Beat Detection Using JavaScript and the Web Audio API by itsjoesullivan on Saturday August 02, 2014 @10:24AM (#8124947)
Thanks! I think the answer is that it would fall down pretty hard if the tempo started varying, the reason being that the algorithm seeks out interval modes instead of averages, with only a little wiggle room.

In the testing section, the songs that we fail to identify correctly are usually those we couldn't get a "handle" on in the form of identifying common intervals. A varying tempo would exacerbate that problem.

Additionally, the question becomes: what is the tempo of a song that has an inconsistent tempo?

Re:Beat Detection Using JavaScript and the Web Audio API by Igglyboo on Saturday August 02, 2014 @12:15AM (#8123980)
Not gonna lie I thought this at first. Assumed it was something that looks through news reports and looks for assault cases or something similar.