WAV2MU(1SP)

NAME
speech2mu - converts SPHERE-headered waveform files to ulaw encoded files.

SYNOPSIS
<stdin> | speech2mu [options] | <stdout>

DESCRIPTION
speech2mu converts a general speech signal files to u-law encoded files. 16 kHz wave files are down sampled to 8 kHz. speech2mu will read either from the specified input file (-f infilename) or from <stdin>. If the maximum sample is > 4096, the samples are first left shifted by the smallest amount which results in a max sample < 4096.

With the -g option, the signal will first be right shifted as much as possible, keeping the max sample < 4096. The subsequent mu-law file is written either to the specified (-o outfilename ) or to <stdout>.

OPTIONS

-f input file name
    [stdin]

-o output file name
    [stdout]

-g Increase gain by power of 2 up to max sample < 4096

-h online help

EXAMPLES

    % cat test.wav | speech2mu -g > test1.mu

SEE ALSO

BUGS
Only works on 16 kHz and 8 kHz WAV or ADC files.

AUTHORS
Center for Spoken Language Understanding
Department of Computer Science and Engineering
Oregon Graduate Institute of Science & Technology