How to detect BPM?

Started by kchabot,

kchabot

Hi,

I'm making progress om my little project...
But I am having trouble finding out how to detect the Beats Per Minute on the playing audio file...

Can anyone help?
Kind Regards...

(: JOBnik! :)

Hi ;D

In the next BASS_FX version 1.2, I've already included a BPM detector :)

Have fun!

8) JOBnik! 8)

Sebastian_Mares

#2
Hey JOBnik,

I was wondering how the beat detector will work. Is it like that DLL which was posted here (which detects the BMP when a button is pressed), or do you scan the whole file?
It would be cool if you could add option two, as there might be passages in the music where there is no action at all.. Have a look inside Winamp's AVS (AVS pannel -> Settings -> Beat Detection) to see what I mean. It detects the BMP in real time.

Regards!

Edit: Oops, I spelled your name wrong. ;D

(: JOBnik! :)

Hi ;D

There're some features in BPM as showen below:

  + Two BPM Detection options:
    + Option 1 - Get BPM from a Decoding channel:
      + Struct/Type/Record
        * BASS_FX_BPMDECODE
      + Functions
        * BASS_FX_BPM_GetDecode
        * BASS_FX_BPM_FreeDecode

    + Option 2 - Get BPM by period of time of any handle - in Real-Time:
      + Struct/Type/Record
        * BASS_FX_BPMCALLBACK
      + Functions
        * BASS_FX_BPM_CallbackSet
        * BASS_FX_BPM_CallbackReset
        * BASS_FX_BPM_CallbackRemove

    + Functions to use with both options:
        * BASS_FX_BPM_X2
        * BASS_FX_BPM_Frequency2BPM
        * BASS_FX_BPM_2Frequency
        * BASS_FX_BPM_Percents2BPM
        * BASS_FX_BPM_2Percents

You can play with it and I'm sure you'll get what you want :)

Have fun!

8) JOBnik! 8)

kchabot

Thanks ;D

I'll be waiting for the release... When will that be?
Can I beta test this dll?

I'll remove my own method of detection (which was based on a decoding channel) and wait for yours... It was kinda slow, and it doesn't work that good either :)