Graphic sound analyzer of microphone

放肆的年华 提交于 2019-12-23 10:09:36

问题


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?


回答1:


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...



来源:https://stackoverflow.com/questions/15338298/graphic-sound-analyzer-of-microphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!