pythonaudiotempo

How to get BPM and tempo audio features in Python


I am involved in a project which requires me to extract song features like beats per minute (BPM), tempo, etc. However, I have not found a suitable Python library that can accurately detect these features.

Does anyone have any advice?

(In Matlab, I do know of a project called Mirtoolbox, which can give the BPM and tempo information after processing the local mp3 file.)


Solution

  • Echo Nest API is what you are looking for:

    http://echonest.github.io/remix/

    Python bindings are rich, though installing Echo Nest can be pain as the team does not seem to be able to build solid installers.

    However it does not do local processing. Instead, it calculates audio fingerprint and uploads the song for Echo Nest servers for the information extraction using algorithms they don't expose.