波形文件修改 [英] Wave file modification

查看:108
本文介绍了波形文件修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨Sujoy,我来自巴基斯坦.我正在搜索wav文件处理,并看到了有关wav文件处理的文章.那真是太好了并且接近问题.我实际上想知道如何获取已加载文件的频率和幅度,以及如何修改这些值并播放修改后的文件而不是原始文件.

Hi Sujoy I hail from Pakistan. I was searching on wav file processing and saw ur article on wav file processing. Thats eally wonderful and close to problem. I actually want to know how to get the frequency and amplitude of loaded file and to modify these values and play that modified file in stead of original file.

推荐答案

不是WAV数据中的频率和幅度,而是一个频谱.有时您可以计算出主要频率,有时则无法.严格来说,即使声音是纯净的音调,它的频谱也比一个频率点宽一点,因为一个固定频率的信号(δ函数频谱)只是无限长信号的一种情况.这是频谱分析的问题.

阅读此内容:
http://en.wikipedia.org/wiki/Frequency_spectrum [ http://en.wikipedia.org/wiki/Sound_spectrum [ http://en.wikipedia.org/wiki/Fourier_transform [ http://en.wikipedia.org/wiki/Fast_Fourier_transform [ http://code.google.com/p/aforge/ [ ^ ].
我也发现了这一点: http://www.sdss.jhu.edu/~tamas/bytes/fftwcsharp .html [^ ].

—SA
There is not frequency and amplitude in the WAV data, there is a spectrum. Sometimes you can figure main frequencies, sometimes you cannot. Even if the sound is one pure tone, strictly speaking, its spectrum is a bit wider than one frequency point, because one fixed frequency signal (delta-function spectrum) is only a case of infinitely long signal. This is a matter of spectrum analysis.

Read this:
http://en.wikipedia.org/wiki/Frequency_spectrum[^]
http://en.wikipedia.org/wiki/Sound_spectrum[^]
http://en.wikipedia.org/wiki/Fourier_transform[^]
http://en.wikipedia.org/wiki/Fast_Fourier_transform[^]

AForge.NET library has Fourier transform methods, see http://code.google.com/p/aforge/[^].
I also found this: http://www.sdss.jhu.edu/~tamas/bytes/fftwcsharp.html[^].

—SA


这篇关于波形文件修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆