Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Let's say you have an .mp3 file. A few of the attributes I would like to find out is like the bass, when the bass is loud, quiet, strong, soft and when it is all those things.

Is there any way of doing this or is there anything similar to this?

EDIT: also I'm not bothered about which code, I'm just interested in what is the easiest way to do this

share|improve this question
what API do you use? what language / framework / library? –  gnat Apr 26 '12 at 12:00
Just anything realy, maby if it is possible java but I'm realy not bothered. –  Nicholas Apr 26 '12 at 12:02
add comment

closed as off topic by Steve Evers, gnat, BЈовић, ChrisF Apr 26 '12 at 12:52

Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 2 down vote accepted

Sure, but MP3 is compressed pretty well, which means that few of these things can be read off the raw data - they are basically 'white noise' with respect to patterns. So you probably won't get around first decoding the MPEG stream and then measuring whatever it is that you want to measure. That means that you should look around for an MPEG decoding library for whatever platform you use, and a measuring/Fast Fourier Transform/sound analysing library on top of that.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.