离散傅立叶变换频率界限?
对于 8KHz wav 声音,我采集了 20ms 的样本,其中包含 160 个数据样本,大胆地绘制了 FFT 频谱。 它也给出了 3000 和 4000 Hz 的震级,难道它不应该给出震级直到 80Hz,因为有160个数据样本?
for a 8KHz wav sound i took 20ms sample which has 160 samples of data, plotted the FFT spectrum in audacity.
It gave the magnitudes in 3000 and 4000 Hz as well, shouln't it be giving the magnitudes until
the 80Hz,because there is 160 samples of data?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
对于 Fs = 8 kHz 的采样率,FFT 将给出从 DC 到奈奎斯特 (= Fs / 2)(即 0 到 4 kHz)的有意义的结果。每个 FFT bin 的宽度为 1 / 20 ms = 50 Hz。
For a sample rate of Fs = 8 khz the FFT will give meaningful results from DC to Nyquist (= Fs / 2), i.e. 0 to 4 kHz. The width of each FFT bin will be 1 / 20 ms = 50 Hz.
实际上,Audacity 将峰值显示为 4503Hz,这意味着可以理解 1Hz 的 bin。顺便问一下,如果我用 20ms 重复 50 次来制作 1s 样本,那么 fft 是否适用于 1Hz bin?据我所知,Audacity 还有窗口选项,如果你使用窗口,那么分量应该是 2 的倍数,比如 1,2,4,8 等。但它显示了确切的频率,那么为什么它使用窗口?
actually audacity shows the peaks as 4503Hz which means understands to 1Hz bins. by the way if I take 20ms and repeat it 50 times to make as 1s sample,is the fft going to be for 1Hz bins? and also audacity has the option for the window as far as I know If you use windowing then the components should be multiple times of 2,like 1,2,4,8,etc.. but it shows the exact frequencies,then why it uses the windowing?
最佳采样率为2*频率。
在不同的频率下你应该改变采样率。
The best sampling rate is 2*frequency.
in different frequencys you should to change the sampling rate.