Beat detection

Everything else that doesn't fall into one of the other PB categories.
Martin Verlaan
Enthusiast
Enthusiast
Posts: 134
Joined: Sun Apr 01, 2018 11:26 am
Location: Netherlands
Contact:

Beat detection

Post by Martin Verlaan »

Has anyone here coded a beat detector in Purebasic? I tried by myself with the BASS library from Un4seen, but it's too difficult for me. I tried also their beat detection function in BASS-FX, but it's very inaccurate. I found some open source solutions, but they are mostly in Python. All I need is a function that create a list with accurate beat positions of a song (I don't need real time beat detection). Looking for years for this, so if anyone can point me in the right direction, I would be very grateful.

Martin
User avatar
NicTheQuick
Addict
Addict
Posts: 1520
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Beat detection

Post by NicTheQuick »

I had a course in university which did exactly this. Maybe I can find something. But in any case you should be firm in mathematics.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
User avatar
idle
Always Here
Always Here
Posts: 5902
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Beat detection

Post by idle »

Does that lib have a vu while playing if it does you could threshold that into a ring buffer then fft those impulse samples it will take it a while to kick in but then it should track ok. You can find fft on rhe forum I will post link later
Post Reply