Detect beat-per-minute value.
libZPlay library has ability to detect BPM (beat-per-minute) value of specified stream. BPM detection is implemented as peak detection method and autocorrelationmethod.
Detection process can take some time, so be carefull.
BPM detection isn't 100 % accurate. BPM detection can fail on some songs and returned BPM value will be 0.
To detect BPM use: