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 visualizaciones (últimos 30 días)
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');

Respuestas (0)

Categorías

Más información sobre Audio Processing Algorithm Design en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by