How I can remove noise from wav file and play file after noise be remove?

How I can remove noise from wav file and after noise be removed, play the file?
this is my program :
y1=wavread('Doraemon.wav');
Fs=8000;
Fs1 = Fs;
wavplay(y1,Fs1,'sync')
N=length(y1);
var = 0.2;
noise_1=var*randn(N,1);
y_1n=y1 + noise_1;
wavplay(y_1n,Fs1,'sync')
anyone can help me solve my problem? thanks

Answers (1)

You can play the same way that you play the samples with noise added: by using wavplay() with the appropriate array in the first parameter.

Asked:

on 25 May 2013

Community Treasure Hunt

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

Start Hunting!