Calculate average spectrum of microphone input and save to file for spectral subtraction.
% mkss [options...] fileName
mkss
is a tool to estimate average spectrum of microphone input. The output
file can be used for spectral subtraction on Julius.
It reads 3 seconds (the length can be changed by option) of audio data from microphone input, calculate its average spectrum and save it to a file. The output file can be used as (initial) noise spectrum data in Julius (option "-ssload").
The recording will start immediately after startup. Sampling format is 16bit, monaural. If output file already exist, it will be overridden.
You need one audio capture device on your machine. If several devices are available, the default one will be used.
This tool will be installed together with Julius.
Record 3 seconds of audio data from microphone, save average spectrum to
noise.ss
, and use it in Julius
% mkss noise.ss
% julius ... -ssload noise.ss
Change recording length to 5 seconds
% mkss -len 5000 noise.ss
When the Julius uses non-default frame size or frame shift, you should also
specify the same parameter to mkss
:
% mkss -fsize 450 -fshift 80 noise.ss
Sampling frequency in Hz (default: 16,000)
Capture length in milliseconds (default: 3000)
Frame size in number of samples (default: 400)
Frame shift in number of samples (default: 160)
This tool is licensed under the same license with Julius. See the license term of Julius for details.