フィルターのクリア

wavread cannot open file. plz mere code k according batye k kese waveread ko use karo

2 ビュー (過去 30 日間)
sana mano
sana mano 2013 年 12 月 15 日
回答済み: chitresh 2013 年 12 月 15 日
CODE [guitar,fs,nbits]=wavread('guitar.wav'); subplot 411 plot(guitar); wavplay(guitar) title('sound') noise=guitar.*rand(90309,1); subplot 412 plot(noise); wavplay(noise) title('noise') filtered=fir1(15,0.05); s=conv(noise,filtered); wavplay (s) subplot 413 plot(s) title('filter 1') [b,a] = butter(1,0.9); c=conv(noise,[b,a]); wavplay (c) subplot 414 plot (c) title('Filter 2')
  1 件のコメント
chitresh
chitresh 2013 年 12 月 15 日
tumare problem kya hai waveread ko kaoise use karna hai yhe batau kya

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

回答 (1 件)

chitresh
chitresh 2013 年 12 月 15 日
This works:
[y,Fs]=wavread('filename');
sound(y,Fs);
note: the filename could be any audio file. but use a converter from .mp3 to .wav coz filename must be in wav format( few even say that waveread converts the file automatically into .wav file but in my case it did not!! )

カテゴリ

Help Center および File ExchangePower Converters についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by