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!