[x,fs]=wavread('AMPIN.WAV'); [b,a]=cheby1(7,50,.3); y=filter(b,a,x); wavwrite(y,fs,16,'EARIN.WAV');