Connecting Tech Pros Worldwide Forums | Help | Site Map

Beat detection?

Newbie
 
Join Date: Jul 2007
Posts: 3
#1: Jul 5 '07
Hi there! Well i'm getting dizzy on this topic, NO ONE seem to know an answer for it. I sure found hundreds of beat detection algorithms xD and I'm not gonna use others' algorithms, anyways what i need to know is how to read the power of a frequency (let's say 100 Hz) to detect basses, 800 Hz to detect mid variation, etc...

I'm programming with DX8 on VB6 right now and I assume this can be done on DirectSound (if not, i'll just use any other library that allows me to read this information, i just can't find any info about this!). iTunes has it since ages, Winamp too, XMMS too, so I know what I'm asking DOES exist xD I wonder how is it possible no one on net knows how to :S...

Thing is, if any1 could tell me how to read a frequency power/volume/db/whatever xD, or if this cannot be done then another method to detect beats, I'd be REALLY THANKFUL xD. Just picture like i was doing a Spectrum Visualizer, with all the frequencies from 20 Hz to 20 KHz... Again, I'm programming on VB6 btw :P, thanks

Newbie
 
Join Date: Jul 2007
Posts: 3
#2: Jul 5 '07

re: Beat detection?


no one? T_T cmon there gotta be at least ONE person in world who should know this xD I don't want algorithms (which i think is actually the hard part!) T_T... Am I asking too much? =/
Moderator
 
Join Date: Oct 2006
Location: Australia
Posts: 7,748
#3: Jul 6 '07

re: Beat detection?


Quote:

Originally Posted by Tiggie

no one? T_T cmon there gotta be at least ONE person in world who should know this xD I don't want algorithms (which i think is actually the hard part!) T_T... Am I asking too much? =/

Apparently so. :)

If I knew the answer I'd tell you, but I'll be very interested to see any information which you do turn up.

Have you tried much searching on this topic through Google, etc?

Also, though we usually discourage multiple postings of the same question, I'd recommend you try asking this in one or more of the Windows, Software Development and Misc Questions forums.

Keep in mind though, you need some patience here. All the people at TSDN are volunteering their own time, if and when they can spare it, and are scattered around the globe. So answers can take a while.
Robbie's Avatar
Familiar Sight
 
Join Date: Mar 2007
Location: igirisu~
Posts: 184
#4: Jul 7 '07

re: Beat detection?


Quote:

Originally Posted by Tiggie

Hi there! Well i'm getting dizzy on this topic, NO ONE seem to know an answer for it. I sure found hundreds of beat detection algorithms xD and I'm not gonna use others' algorithms, anyways what i need to know is how to read the power of a frequency (let's say 100 Hz) to detect basses, 800 Hz to detect mid variation, etc...

I'm programming with DX8 on VB6 right now and I assume this can be done on DirectSound (if not, i'll just use any other library that allows me to read this information, i just can't find any info about this!). iTunes has it since ages, Winamp too, XMMS too, so I know what I'm asking DOES exist xD I wonder how is it possible no one on net knows how to :S...

Thing is, if any1 could tell me how to read a frequency power/volume/db/whatever xD, or if this cannot be done then another method to detect beats, I'd be REALLY THANKFUL xD. Just picture like i was doing a Spectrum Visualizer, with all the frequencies from 20 Hz to 20 KHz... Again, I'm programming on VB6 btw :P, thanks

I really REALLY recommend you to use FMOD . It has loads of functions, and it seems more than DirectSound. Much of the time it is faster than DirectSound, it supports more file formats. And it is certainly way more compatible than DirectSound can ever be, since DS is Windows-based. It's also way easier to use than DS.
I use it with VB6 too. ^-^
It also comes with many examples for VB6!

I have used FMOD to create a beat detection program (although not on VB6), although the 'algorithm' was in fact so cheap that it never really could keep the BPM very well unless it was a solid dance rhythm or such.

So I'd be very interested if you could please post some links to algorithms which you've looked at?
Reply


Similar Visual Basic 4 / 5 / 6 bytes