Important parts of a sound wave

Started by
2 comments, last by lucem 18 years, 1 month ago
Out of a wave file, say I take out a random chunk of sound data about 1 second long. What type of important/interesting mathematical data can I get from it? Like average pitch and such. Would any of them require doing the FFT? Thank you, Dev578
Advertisement
What are you trying to do?

--www.physicaluncertainty.com
--linkedin
--irc.freenode.net#gdnet

Using straight-forward math:

You could get the RMS and peak energy.
You could get pitch, probably using auto-correlation.
You could get spectrum energy density, probably using FFT.

Using more advanced algorithms, and probably more than a second of the music:

You could possibly detect instrumentation.
You could possibly determine the genre of the music.
You could possibly determine the tempo of the music.

Using statistical algorithms:

You could match the sample against a database of known samples for various degrees of match confidence.
enum Bool { True, False, FileNotFound };
You can get a lot of information...
root mean sqare average of time, frequency / frequencies, phase shifts, amplitudes, damping, fourier integral of the waveform ...

Depends on what is interesting for you.
And no, you don't need FFT unless you want to analyse the frequency structure, and even then you can do to by integration (even if FFT is substantially faster, of course)
Using your brain doesn't hurt at all.

This topic is closed to new replies.

Advertisement