麦克风的声音图形分析麦克风、图形、声音

2023-09-07 17:24:31 作者:冷瞳冷心冷少年

我建立在具有它记录它进来麦克风的声音功能的应用程序。这将是得心应手给传入的声音的图形视图,像https://m.xsw88.com/allimgs/daicuo/20230907/6389.png.gif例如。

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 https://m.xsw88.com/allimgs/daicuo/20230907/6389.png.gif for example.

我搜索教程一点点上网,但我发现的唯一的事情是Audalyzer,但它是我很难得到它一握,它也是采用全接口,并不太清楚如何实现它作为一个小部件...

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

也许有人知道在这一个很好的教程或示例code?

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

推荐答案

您很可能希望使用快速傅立叶变换这一点。搜索结果我想尝试jTransforms: https://sites.google.com/site/piotrwendykier/software / jtransforms 搜索结果这里的博客: http://trueharmoniccolours.co.uk/Blog/ 给出了一个很好的介绍成什么样在FFT做,以及如何把它变成一个图表。我担心,如果本月底你会明白的FFT虽然...

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