We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › minim beatdetect is very choppy and unreliable
Page Index Toggle Pages: 1
minim beatdetect is very choppy and unreliable (Read 1641 times)
minim beatdetect is very choppy and unreliable
Jul 25th, 2009, 12:07pm
 
I have the latest Macbook Pro laptop (i.e. it's fast) and when I run the minim beat detect demo it is very very choppy and inaccurate (skipping beats, stuttering/pausing etc.).

I used this example but loaded my own mp3 file that has a very steady a stripped down drum beat (it is a minimal techno track)
(from this link: http://processing.org/learning/libraries/frequencyenergy.html)

Any tips to get this working better? Eventually I need this to work accurately off a line in/mic. Maybe there is another library to try?
Re: minim beatdetect is very choppy and unreliable
Reply #1 - Mar 24th, 2010, 10:20pm
 
Hi, I'm new to Progressive and ended up here because I couldn't beatdetect a live input in AS3.

Anyway, I'm having the same issue as intellijel where the beat detect is missing some of the snares and kicks. Does anyone have other suggestions for libraries to try to get a more accurate BPM reading?
Re: minim beatdetect is very choppy and unreliable
Reply #2 - Mar 25th, 2010, 12:20am
 
hi there,

i did some beat detection for one my projects. here is a simplified version (mainly separated from my project and able to run as standalone).

-this is basically working as an adaptive multiband attack detector.
-you can select the range of frequency you want to focus on(but it works fine on the full range)
-it automatically adapts its threshold to the variability of the music. but you can influence how this threshold is computed by making it more or less sensitive.
-it's based on minim FFT and uses logarithmic bands (as these match more what our hear perceives)

the link : http://motscousus.com/stuff/2008-02_Processing.org_patterns/test_beat.pde

h

Page Index Toggle Pages: 1