I have two .wav file one is the noise file(fan sound) and another one is the speech,I have to add them and use a filter to retrive the speech alone.I have added the .wav files together but I dont know if its correct.some tip to filter will be helpful
3 ビュー (過去 30 日間)
古いコメントを表示
fs=44100; %speech with noise y4=audioread('fan_sound.wav'); y5=audioread('speech.wav'); minimumlength=min([length(y4),length(y5)]); y4=y4(1:minimumlength); y5=y5(1:minimumlength); y3=y4+y5; %noise+speech signal in time domain t=0:1/fs:(length(y3)-1)/fs; figure(5); plot(t,y3); title('Wave File'); ylabel('Amplitude'); xlabel('Length (in seconds)'); title('signal+noise'); %noise+speech signal in frequency domain n=length(y3)-1; f=0:fs/n:fs; tfft=abs(fft(y3)); figure(6) plot(f,tfft); xlabel('Frequency in Hz'); ylabel('Magnitude'); title('The Wave FFT'); title('signal+noise');
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Audio Processing Algorithm Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!