Wavrecord help
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.
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.
0
Comments
--Actually, Thanks so much. I just got it working. You sir/madam are a star!--