frame. Minus it will highlight the voice power spectrum. In addition, there is an improved method, for amend the processing of the power spectrum. Change and toand. Combining these two improved process, the enhanced form of spectral subtraction can be expressed as: When =2,=1 that is general spectral subtraction. We know that is spectral subtraction correction factor, change the value of will further enhance the signal to noise ratio; as spectral subtraction noise figure, its role is to reduce the noise power spectrum, modify the coefficient of would serve to reduce noise and highlight the speech spectrum. Code: clc,clear; [x,fs,bits]=wavread('12.wav'); y=x(1:350,1); Y=fft(y); magY=abs(Y); b1=[];a=0.4;b=0.5; for i=0:2000; n=350; x1=x(1+n*i:n+n*i); X1=fft(x1); magX=abs(X1); S=(magX.^a-magY.^a); S1=abs(S).^(1/b); s1=ifft(S1); m=mean(s1)*300; for j=1:350; if abs(s1(j))>m; s1(j)=s1(j)/4; end end a1=s1'; b1=[b1 a1]; end x2=b1'; plot(x2); sound(x2,fs,bits); wavwrite(x2,fs,'14.wav')
frame. Minus it will highlight the voice power spectrum. In addition, there is an improved method, for amend the processing of the power spectrum. Change and toand. Combining these two improved process, the enhanced form of spectral subtraction can be expressed as: When =2,=1 that is general spectral subtraction. We know that is spectral subtraction correction factor, change the value of will further enhance the signal to noise ratio; as spectral subtraction noise figure, its role is to reduce the noise power spectrum, modify the coefficient of would serve to reduce noise and highlight the speech spectrum. Code: clc,clear; [x,fs,bits]=wavread('12.wav'); y=x(1:350,1); Y=fft(y); magY=abs(Y); b1=[];a=0.4;b=0.5; for i=0:2000; n=350; x1=x(1+n*i:n+n*i); X1=fft(x1); magX=abs(X1); S=(magX.^a-magY.^a); S1=abs(S).^(1/b); s1=ifft(S1); m=mean(s1)*300; for j=1:350; if abs(s1(j))>m; s1(j)=s1(j)/4; end end a1=s1'; b1=[b1 a1]; end x2=b1'; plot(x2); sound(x2,fs,bits); wavwrite(x2,fs,'14.wav')
speech%20proccessing%20%20wanfeng%20zou.docx