Wavrecord help

edited April 2011 in Science & Tech
Hey,
I may be missing something really obvious here, but I've been given the task of removing a noise from an audio signal, which I've done in some way, shape or form. As part of the task I then have to record the filtered audio. Only I can't seem to get that to happen.
My code so far.

>>x=wavread('music14.wav');
>>[x,fs]=wavread('music14.wav');
>>wavplay(x,fs);
>>mag=abs(fft(x));
>>f=fs*(0:length(x)-1)/length(x);
>>plot(f(1:30000),mag(1:30000))
>> fdatool
>> y=filter(Hd,x);
>> wavplay(y,fs)

The filter I created through the fdatool, then exported to the workspace. I'm just not sure where to go for Wavrecord.

Comments

  • shwaipshwaip bluffin' with my muffin Icrontian
    edited April 2011
    wavwrite(y,fs,'filename')
  • edited April 2011
    And that will automatically save a file with 'filename' with the filtered audio in?

    --Actually, Thanks so much. I just got it working. You sir/madam are a star!--
Sign In or Register to comment.