Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphic sound analyzer of microphone

I am building on an app which has a function which records the sound which comes in the microphone. It would be handy to give a graphical view of the incoming sound, like http://www.filebuzz.com/software_screenshot/full/10920-Audio_Edit.gif for example.

I searched a little bit for a tutorial online, but the only thing I found was Audalyzer, but it is difficult for me to get a grip on it, it also is using the whole interface and not clear how to implement it as a widget...

Maybe somebody knows a good tutorial or example code on this?

like image 704
Matthias Vanb Avatar asked Mar 11 '13 12:03

Matthias Vanb


People also ask

What does an audio analyzer do?

An audio analyzer is a test and measurement instrument used to objectively quantify the audio performance of electronic and electro-acoustical devices.

How does a sound spectrum analyzer work?

The spectrum analyzer measures the radio noise floor and analyzes how close two signals can be while still being resolved into two separate peaks. It uses a linear scale for signal frequency and a logarithmic or decibel scale for amplitude.

What is a sound spectrum analyzer?

A spectrum analyzer is a measurement tool that displays real-time frequency analysis of incoming audio signals. Spectrum analyzers display the results in a graph. The horizontal axis shows frequency and pitch measured in Hertz. The vertical axis shows the amplitude of those frequencies measured in decibels.

What is a frequency analyzer?

An FFT analyzer serves for assessing the physical aspects of sound or vibration phenomena and for devising suitable countermeasures. General applicability is good because analysis can be carried out in the time domain as well as in the frequency domain.


1 Answers

You'd probably want to use a Fast Fourier Transform for this.

I'd try jTransforms: https://sites.google.com/site/piotrwendykier/software/jtransforms

The blog here: http://trueharmoniccolours.co.uk/Blog/ gives a good introduction into what the FFT does and how you can turn it into a chart. I fear that by the end of this you'll understand FFTs though...

like image 76
GHC Avatar answered Oct 03 '22 13:10

GHC