[linux-audio-dev] Some help with my BPM algorithm?

Simon Jenkins sjenkins at blueyonder.co.uk
Mon Mar 22 16:46:50 UTC 2004


Jay Dolan wrote:

>Hello,
>
>I'm working on a simple command line driven bpm
>counter for mp3 files.  It's very straight-forward. 
>I'm trying to use a 4-beat phase shifting technique,
>but for some reason my code is returning the same
>exact value for each file.  Obviously I have a stupid
>math error, or haven't thought things through enough. 
>If someone wants to look at this and tell me what they
>think I did wrong, I'd appreciate it :)  The code is
>pretty clean (just wrong) and well commented.  You'll
>need to have mpg123 installed for it to (not) work. 
>Thanks very much!
>
Try this?
(I haven't).

Simon Jenkins
(Bristol, UK)

>=====
>Jay Dolan
>Software Engineer, Systems Analyst
>Windmill Cycles, Inc.
>508.999.4000
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Finance Tax Center - File online. File on time.
>http://taxes.yahoo.com/filing.html
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bpm.c
Type: text/x-csrc
Size: 4566 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20040322/6f5d7cbc/attachment.c>


More information about the Linux-audio-dev mailing list