[英]How to get the frequency spectrum of a segment of samples from a AudioInputStream?
There are several FFT libraries, for example Apache Commons Math includes a FFT. 有几个FFT库,例如Apache Commons Math包含一个FFT。
Bear in mind, though, that spectrum estimation is something more complicated than simply making a Fourier transform (DFT). 但是请记住, 频谱估计比简单地进行傅立叶变换(DFT)更复杂。 (It's true, though, that the most basic method, the Periodogram , amounts to computing the DFT and taking its absolute value). (不过,的确,最基本的方法Periodogram等于计算DFT并采用其绝对值)。
The website for FFTW, one of the most popular FFT libraries, supposedly has Java bindings. FFTW的网站是最流行的FFT库之一,据说它具有Java绑定。 Check out the descriptions on http://www.fftw.org/download.html . 在http://www.fftw.org/download.html上查看说明。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.