How to get BPM of song?

I want get number BPM of song with input is song.
Input: “Audio.mp3”
output: number BPM

Please help me!!!

You’ll need to look into making an FFT system - which is pretty complex:

I use library “bpmDetect.dll” to get value BPM. (Copy file “bpmDetect.dll” to folder “Asset\plugins”). But unusable. Code follow:

Documentation about “bpmDetect.dll”: http://adionsoft.net/bpm/index.php?module=docs

Why? pls