ADDHDR(1SP)

NAME
addhdr - Adds a SPHERE file header to a raw data file

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

DESCRIPTION
addhdr adds a SPHERE file header to the raw data file, either from the specified input file name (-f inputfile ) or from <stdin> and writes the result to either the specified output file (-o outputfile ) or to <stdout>

OPTIONS

-f input file name
    [stdin]

-o output file name
    [stdout]

-b use big endian byte ordering

-l use little endian byte ordering

-r sampling rate
    [8000 Hz]

-h online help

EXAMPLES

    % addhdr -f rawdata -o tmp.wav -r 16000 -b

    % cat rawdata | addhdr -r 16000 -b > tmp.wav

SEE ALSO
WavWrite(3SP), wav2adc(1SP) sphere(3SP)

BUGS

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