フィルターのクリア

what is amplitudes of a wav signal...

1 回表示 (過去 30 日間)
Sandhu
Sandhu 2011 年 11 月 21 日
i need to find amplitudes of a wav file. so how can i approach for it.. i have an idea, just tell me weather it is right or wrong. if it is so, please guide me in correct way...
abs(fft(wavefile))
is this can give amplitudes????

回答 (2 件)

Daniel Shub
Daniel Shub 2011 年 11 月 21 日
Assuming that wavefile is an array and not a string with the file name, then what you have will give you the amplitude as a function of frequency. It may make more sense to do:
20*log10(abs(fft(wavefile)))

Wayne King
Wayne King 2011 年 11 月 21 日
Are you trying to relate the values of the wav file to some physical variable, like volts? If that is the case, then you need to rely on information about how the wave file was recorded.
Just looking at the .wav file in MATLAB is not going to give you that information in the absence of knowing exactly how it was recorded.
  2 件のコメント
Sandhu
Sandhu 2011 年 11 月 21 日
i am sorry about it. so can you please tell me , what is amplitude of a speech signal. and how we can find it....please tell me some wahys to find it.
thank you.
Walter Roberson
Walter Roberson 2011 年 11 月 21 日
Are you looking for amplitude in terms of the voltage passed by the microphone to the "line in" connector? Or are you looking for the sound pressure level? Or the sound intensity level?
If you are looking for voltage, then there is a fairly simple linear relationship that can be calculated, but if you are looking for sound intensity level or sound pressure level, then a fair bit of work has to be done in order to calibrate your microphone response against known volumes or pressures.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpeech Recognition についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by