What’s the best way to detect a song's BPM?
Asked by
screen-print studio
I'm looking to write some code that detects the beats per minute (BPM) of a song that's currently playing on an app like Spotify. I want to either display this information to the user or use it later in another part of my program. I have a decent grasp of Python and some experience with other languages, so I'm open to suggestions about different approaches or libraries that could help me achieve this.
Answers
To get the BPM, you'll want to use an existing library or dive into some digital signal processing (DSP). There are more straightforward methods available than building it from scratch.
Reply to this answer
Add your answer
Answers are reviewed before publication.
windmill.sails: DSP? What does that involve?