views:

1420

answers:

4

I'm looking for a library that simplify tempo/bpm audio detection.

Something similar to this http://adionsoft.net/bpm/ , but to use on *NIX machines.

Any language, but preference goes to php, perl, python.

+2  A: 

Not a library, but a single class: bpmdetect.{cpp,h} from Mixxx.

that code uses soundtouch if I'm not mistaken. If it does not it's part of some very old cruft that is still kicking around in the repository. If it is, I wouldn't recommend using it.
Phillip Whelan
+1  A: 

Better: http://www.vamp-plugins.org/download.html

+1  A: 

Mixxx uses the BPMDetect class from the SoundTouch library for BPM Detection. There is also another opensource library called BPMDj which is harder to use but is more accurate.

I personally wouldn't rely on either though. Then again I am a hobbyist DJ so I tend to rely more on my ears.

EDIT

There is a much better OSS library called aubio. It can also do beat detection and onset detection.

Phillip Whelan
A: 

Also, if you're already using the GStreamer library, there's the bpmdetect element as a part of the soundtouch plugin, a part of gstreamer-plugins-bad. The python gstreamer bindings are meant to be quite good.

RAOF