0
0

i’m writing a little demo right now and would like to visualize the accompanying music a bit. to be specific, i’d like to be able to detect the drumbeats rather accurately so that i can display some loudspeakers bumping away to the music. could someone give me a general direction what to do to achieve this? i guess i ought to use the getSpectrum() function but with what parameters etc.?

thx
eik

  • You must to post comments
0
0

Hi brett,
I hadn’t thought of the 1/x method myself yet.
Anyway, I have a slightly different approach that quite accurately detects the BPM in techno/house.
It just stores when the 5 lowest frequencies from the getspectrum go beyond .9 in an array.
Then I go through each frequency’s array and I count how many beats are in the same range.
I do the same for each frequency and after that I have a table with all BPM’s found in the array and the number of beats in a row had that BPM.
The most beats in a row with the same BPM in the range of 50 – 200 BPM wins.

  • You must to post comments
0
0

BRET!!! PLEASE DO SO!!! :smile:

I have been looking for a system that can detect beats, but have not found any documentation on have to do it programable. I have made a beatdetector in Electronics but it is quite difference in C++ programmin! 😉

Could you please let me know when it is ready?! :smile:

Best Regards
Lars Werner
large@writeme.com

  • You must to post comments
0
0

Small bug:

I have written my own personal player for most media sound types powered by fmod. I am using global focus so sound traverses to all windows and whatnot. This works great.

However, I use a program called Terminal Service to remotly login and controls some servers, whenever I do this while my player is runnign sound immeadatly becomes VERY VERY slow and almost sounds like the old records on a speed thats about 1/3 of what the speed should be.

Hope this helps, if u need any more information please let me know and i will endever to report all that I can.

Applogies for grammer and spelling errors.

Thanks and keep up the great work.

++Cire.

  • You must to post comments
0
0

re beat detection – there are some interesting sources like bonk~
http://crca.ucsd.edu/~tapel/icmc98.pdf

  • You must to post comments
0
0

Can enybody paste here some part of his code how to count bpm.
Thank.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.