Although Googling the BPM of a song isn't too troublesome, I was thinking about another method for automatically detecting BPM. BPM is usually reflected in specific instruments in the music, such as the rhythm-controlling drums. So, monitoring specific frequencies at a certain threshold to calculate BPM might yield accurate results. For instance, by counting how many times the threshold is reached within a given time frame, you can calculate and adjust the BPM in real-time. This is similar to how I control lighting in a scene. Especially now, more songs are using variable tempo arrangements, though it's still uncommon. Regardless, the effect in this scene is great. Keep exploring; I will continue to follow and support you!