Do not use on any
shared computer
September 7, 2008 04:24am pdt
 
[x]
Attachment Details

Linux coding... how to collect Beats Per Minute of a mp3??

Tags: perl php c++
I will have a linux web server either fedora or ubuntu running a LAMP setup php/mysql website...

Does anyone know how or can you point me in the right direction on what language would be able to do the following?

1) look in a folder for newly created mp3 files
2) analyze the Mp3 and figure out its tempo (like 110 beats per minute)
2A) if possible, probably very difficult but detect whether the beat is constant like a techno beat 4x4 or if its a broken beat like a rock beat.
3) collect the tempo and beat info and store it in the local mysql database along with the filename

Im very proficient in PHP but i dont think its possible with php alone... ?
Im looking to have a cron run that would kick this into gear like once or twice a day and then update the mysql database with the filename and tempo.

Something like this... but with mysql support?
http://linux.softpedia.com/progScreenshots/BPM-Detect-Screenshot-20334.html

any ideas??
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: cimmer
Question Asked On: 07.24.2008
Participating Experts: 2
Points: 444
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by suhasbharadwaj

Rank: Master

Expert Comment by suhasbharadwaj:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by cimmer
Author Comment by cimmer:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by Adam314

Rank: Genius

Expert Comment by Adam314:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by cimmer
Author Comment by cimmer:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by Adam314

Rank: Genius

Expert Comment by Adam314:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628