First set your PATH to include my ``bin'' directory, so you can access my executables:
PATH=$PATH:/usr/fisher/mipsbin
export PATH
This file contains an extract
from a film sound-track. (I'm told it's ``Return of the Jedi''.)
It can be played by
play corrupt.au
if you're logged on to an Indy; if not you'll have to take my word for it.
The data can be written as a sequence of Ascii floats on standard output by
aucat corrupt.au
and the inverse function is provided by:
autac file.au
which reads a sequence of Ascii floats on standard input and creates a file in .au format
containing the audio data.
The audio in corrupt.au has been corrupted by the addition of a small amount of white noise, some clicks, and a constant tone.
You are asked to perform the following steps.
aucat corrupt.au | head -1024 | fft -pw | plotit
for (;;)
{ read a value x;
if (end of file) break;
pass x through notch filter to give y;
write out y;
}
aucat corrupt.au | head -1024 | notch | fft -pw | plotit
and check that the tone has gone, while the wanted signal (and,
unfortunately, the noise) remain. If you've got it right, the tone should be undetectable
on an FFT. If you're on an Indy, listen to the result:
aucat corrupt.au | notch | autac temp.au
play temp.au