How to find BPM of an audio through a script?

So I see games with BPM implemented in the game although I don’t know how they do it. I am trying to do something like that with a visualizer. Any methods on how to get BPM?

1 Like

Those games are likely using the sound’s PlaybackLoudness property, not its BPM.

I am very familiar with the PlaybackLoudness property, although it doesn’t seem to be as accurate as these other games with the same music. I also dislike PlaybackLoudness since it is terrible for visualizing audios unless you want to have it based off the sound volume.

1 Like

@Forummer is right, PlaybackLoudness is the only reliable way to calculate BPM (besides if the BPM of the song was already known by the creator or something)

I saw this previously but I’ll attempt making it work, thanks.