如何从 AudioInputStream 获取一段样本的频谱?

发布于 2024-09-06 01:07:51 字数 166 浏览 3 评论 0原文

是否有一个很好的(纯Java)开源库来获取从 音频输入流

Is there a nice (pure Java) open source libary to get the frequence spectrum of samples taken from a AudioInputStream?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

慕巷 2024-09-13 01:07:51

有几个 FFT 库,例如 Apache Commons数学包括FFT。

但请记住,频谱估计比简单地进行傅立叶变换 (DFT) 更复杂。 (不过,最基本的方法,周期图,确实相当于计算 DFT并取其绝对值)。

There are several FFT libraries, for example Apache Commons Math includes a FFT.

Bear in mind, though, that spectrum estimation is something more complicated than simply making a Fourier transform (DFT). (It's true, though, that the most basic method, the Periodogram, amounts to computing the DFT and taking its absolute value).

呆头 2024-09-13 01:07:51

FFTW(最流行的 FFT 库之一)的网站据说有 Java 绑定。查看 http://www.fftw.org/download.html 上的说明。

The website for FFTW, one of the most popular FFT libraries, supposedly has Java bindings. Check out the descriptions on http://www.fftw.org/download.html .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文