\doxysection{cmd\+\_\+ln\+\_\+defn.\+h}
\label{cmd__ln__defn_8h_source}\index{src/sphinx\_fe/cmd\_ln\_defn.h@{src/sphinx\_fe/cmd\_ln\_defn.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ ====================================================================}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1998-\/2000\ Carnegie\ Mellon\ University.\ \ All\ rights\ }}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ reserved.}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ Redistribution\ and\ use\ in\ source\ and\ binary\ forms,\ with\ or\ without}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ modification,\ are\ permitted\ provided\ that\ the\ following\ conditions}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ are\ met:}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ 1.\ Redistributions\ of\ source\ code\ must\ retain\ the\ above\ copyright}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer.\ }}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ 2.\ Redistributions\ in\ binary\ form\ must\ reproduce\ the\ above\ copyright}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer\ in}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ \ \ the\ documentation\ and/or\ other\ materials\ provided\ with\ the}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ \ \ distribution.}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ This\ work\ was\ supported\ in\ part\ by\ funding\ from\ the\ Defense\ Advanced\ }}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ Research\ Projects\ Agency\ and\ the\ National\ Science\ Foundation\ of\ the\ }}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ United\ States\ of\ America,\ and\ the\ CMU\ Sphinx\ Speech\ Consortium.}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ THIS\ SOFTWARE\ IS\ PROVIDED\ BY\ CARNEGIE\ MELLON\ UNIVERSITY\ \`{}\`{}AS\ IS''\ AND\ }}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ ANY\ EXPRESSED\ OR\ IMPLIED\ WARRANTIES,\ INCLUDING,\ BUT\ NOT\ LIMITED\ TO,\ }}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ THE\ IMPLIED\ WARRANTIES\ OF\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ A\ PARTICULAR}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ *\ PURPOSE\ ARE\ DISCLAIMED.\ \ IN\ NO\ EVENT\ SHALL\ CARNEGIE\ MELLON\ UNIVERSITY}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ *\ NOR\ ITS\ EMPLOYEES\ BE\ LIABLE\ FOR\ ANY\ DIRECT,\ INDIRECT,\ INCIDENTAL,}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ *\ SPECIAL,\ EXEMPLARY,\ OR\ CONSEQUENTIAL\ DAMAGES\ (INCLUDING,\ BUT\ NOT\ }}
\DoxyCodeLine{00027\ \textcolor{comment}{\ *\ LIMITED\ TO,\ PROCUREMENT\ OF\ SUBSTITUTE\ GOODS\ OR\ SERVICES;\ LOSS\ OF\ USE,\ }}
\DoxyCodeLine{00028\ \textcolor{comment}{\ *\ DATA,\ OR\ PROFITS;\ OR\ BUSINESS\ INTERRUPTION)\ HOWEVER\ CAUSED\ AND\ ON\ ANY\ }}
\DoxyCodeLine{00029\ \textcolor{comment}{\ *\ THEORY\ OF\ LIABILITY,\ WHETHER\ IN\ CONTRACT,\ STRICT\ LIABILITY,\ OR\ TORT\ }}
\DoxyCodeLine{00030\ \textcolor{comment}{\ *\ (INCLUDING\ NEGLIGENCE\ OR\ OTHERWISE)\ ARISING\ IN\ ANY\ WAY\ OUT\ OF\ THE\ USE\ }}
\DoxyCodeLine{00031\ \textcolor{comment}{\ *\ OF\ THIS\ SOFTWARE,\ EVEN\ IF\ ADVISED\ OF\ THE\ POSSIBILITY\ OF\ SUCH\ DAMAGE.}}
\DoxyCodeLine{00032\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00033\ \textcolor{comment}{\ *\ ====================================================================}}
\DoxyCodeLine{00034\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00035\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00036\ \textcolor{comment}{/*********************************************************************}}
\DoxyCodeLine{00037\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00038\ \textcolor{comment}{\ *\ File:\ cmd\_ln\_defn.h}}
\DoxyCodeLine{00039\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00040\ \textcolor{comment}{\ *\ Description:\ }}
\DoxyCodeLine{00041\ \textcolor{comment}{\ *\ \ \ \ \ \ Command\ line\ argument\ definition}}
\DoxyCodeLine{00042\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00043\ \textcolor{comment}{\ *\ Author:\ }}
\DoxyCodeLine{00044\ \textcolor{comment}{\ *\ \ \ \ \ \ }}
\DoxyCodeLine{00045\ \textcolor{comment}{\ *********************************************************************/}}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \textcolor{preprocessor}{\#ifndef\ CMD\_LN\_DEFN\_H}}
\DoxyCodeLine{00048\ \textcolor{preprocessor}{\#define\ CMD\_LN\_DEFN\_H}}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{preprocessor}{\#include\ <sphinxbase/cmd\_ln.h>}}
\DoxyCodeLine{00051\ \textcolor{preprocessor}{\#include\ <sphinxbase/fe.h>}}
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00053\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ helpstr[]\ =}
\DoxyCodeLine{00054\ \ \ \textcolor{stringliteral}{"{}Description:\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00055\ \textcolor{stringliteral}{Extract\ acoustic\ features\ form\ from\ audio\ file.\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00056\ \textcolor{stringliteral}{\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00057\ \textcolor{stringliteral}{The\ main\ parameters\ that\ affect\ the\ final\ output,\ with\ typical\ values,\ are:\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00058\ \textcolor{stringliteral}{\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00059\ \textcolor{stringliteral}{samprate,\ typically\ 8000,\ 11025,\ or\ 16000\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00060\ \textcolor{stringliteral}{lowerf,\ 130,\ 200,\ 130,\ for\ the\ respective\ sampling\ rates\ above\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00061\ \textcolor{stringliteral}{upperf,\ 3700,\ 5200,\ 6800,\ for\ the\ respective\ sampling\ rates\ above\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00062\ \textcolor{stringliteral}{nfilt,\ 31,\ 37,\ 40,\ for\ the\ respective\ sampling\ rates\ above\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00063\ \textcolor{stringliteral}{nfft,\ 256\ or\ 512\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00064\ \textcolor{stringliteral}{format,\ raw\ or\ nist\ or\ mswav\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00065\ \textcolor{stringliteral}{\(\backslash\)"{}"{}};}
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00067\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ examplestr[]\ =}
\DoxyCodeLine{00068\ \ \ \textcolor{stringliteral}{"{}Example:\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00069\ \textcolor{stringliteral}{This\ example\ creates\ a\ cepstral\ file\ named\ \(\backslash\)"{}output.mfc\(\backslash\)"{}\ from\ an\ input\ audio\ file\ named\ \(\backslash\)"{}input.raw\(\backslash\)"{},\ which\ is\ a\ raw\ audio\ file\ (no\ header\ information),\ which\ was\ originally\ sampled\ at\ 16kHz.\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00070\ \textcolor{stringliteral}{\(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00071\ \textcolor{stringliteral}{sphinx\_fe\ -\/i\ \ input.raw\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00072\ \textcolor{stringliteral}{\ \ \ \ \ \ \ \ -\/o\ \ \ output.mfc\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00073\ \textcolor{stringliteral}{\ \ \ \ \ \ \ \ -\/input\_endian\ little\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00074\ \textcolor{stringliteral}{\ \ \ \ \ \ \ \ -\/samprate\ \ 16000\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00075\ \textcolor{stringliteral}{\ \ \ \ \ \ \ \ -\/lowerf\ \ \ \ 130\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00076\ \textcolor{stringliteral}{\ \ \ \ \ \ \ \ -\/upperf\ \ \ \ 6800\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00077\ \textcolor{stringliteral}{\ \ \ \ \ \ \ \ -\/nfilt\ \ \ \ \ 40\ \(\backslash\)n\(\backslash\)}}
\DoxyCodeLine{00078\ \textcolor{stringliteral}{\ \ \ \ \ \ \ \ -\/nfft\ \ \ \ \ \ 512"{}};}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00080\ \textcolor{keyword}{static}\ arg\_t\ defn[]\ =\ \{}
\DoxyCodeLine{00081\ \ \ \{\ \textcolor{stringliteral}{"{}-\/help"{}},}
\DoxyCodeLine{00082\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00083\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00084\ \ \ \ \ \textcolor{stringliteral}{"{}Shows\ the\ usage\ of\ the\ tool"{}}\},}
\DoxyCodeLine{00085\ \ \ }
\DoxyCodeLine{00086\ \ \ \{\ \textcolor{stringliteral}{"{}-\/example"{}},}
\DoxyCodeLine{00087\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00088\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00089\ \ \ \ \ \textcolor{stringliteral}{"{}Shows\ example\ of\ how\ to\ use\ the\ tool"{}}\},}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ \ \ waveform\_to\_cepstral\_command\_line\_macro(),}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ \ \ \{\ \textcolor{stringliteral}{"{}-\/argfile"{}},}
\DoxyCodeLine{00094\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00095\ \ \ \ \ NULL,}
\DoxyCodeLine{00096\ \ \ \ \ \textcolor{stringliteral}{"{}Argument\ file\ (e.g.\ feat.params\ from\ an\ acoustic\ model)\ to\ read\ parameters\ from.\ \ This\ will\ override\ anything\ set\ in\ other\ command\ line\ arguments."{}}\ \},}
\DoxyCodeLine{00097\ \ \ }
\DoxyCodeLine{00098\ \ \ \{\ \textcolor{stringliteral}{"{}-\/i"{}},}
\DoxyCodeLine{00099\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00100\ \ \ \ \ NULL,}
\DoxyCodeLine{00101\ \ \ \ \ \textcolor{stringliteral}{"{}Single\ audio\ input\ file"{}}\ \},}
\DoxyCodeLine{00102\ \ \ }
\DoxyCodeLine{00103\ \ \ \{\ \textcolor{stringliteral}{"{}-\/o"{}},}
\DoxyCodeLine{00104\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00105\ \ \ \ \ NULL,}
\DoxyCodeLine{00106\ \ \ \ \ \textcolor{stringliteral}{"{}Single\ cepstral\ output\ file"{}}\ \},}
\DoxyCodeLine{00107\ \ \ }
\DoxyCodeLine{00108\ \ \ \{\ \textcolor{stringliteral}{"{}-\/c"{}},}
\DoxyCodeLine{00109\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00110\ \ \ \ \ NULL,}
\DoxyCodeLine{00111\ \ \ \ \ \textcolor{stringliteral}{"{}Control\ file\ for\ batch\ processing"{}}\ \},}
\DoxyCodeLine{00112\ \ \ }
\DoxyCodeLine{00113\ \ \ \{\ \textcolor{stringliteral}{"{}-\/nskip"{}},}
\DoxyCodeLine{00114\ \ \ \ \ ARG\_INT32,}
\DoxyCodeLine{00115\ \ \ \ \ \textcolor{stringliteral}{"{}0"{}},}
\DoxyCodeLine{00116\ \ \ \ \ \textcolor{stringliteral}{"{}If\ a\ control\ file\ was\ specified,\ the\ number\ of\ utterances\ to\ skip\ at\ the\ head\ of\ the\ file"{}}\ \},}
\DoxyCodeLine{00117\ \ \ }
\DoxyCodeLine{00118\ \ \ \{\ \textcolor{stringliteral}{"{}-\/runlen"{}},}
\DoxyCodeLine{00119\ \ \ \ \ ARG\_INT32,}
\DoxyCodeLine{00120\ \ \ \ \ \textcolor{stringliteral}{"{}-\/1"{}},}
\DoxyCodeLine{00121\ \ \ \ \ \textcolor{stringliteral}{"{}If\ a\ control\ file\ was\ specified,\ the\ number\ of\ utterances\ to\ process,\ or\ -\/1\ for\ all"{}}\ \},}
\DoxyCodeLine{00122\ }
\DoxyCodeLine{00123\ \ \ \{\ \textcolor{stringliteral}{"{}-\/part"{}},}
\DoxyCodeLine{00124\ \ \ \ \ ARG\_INT32,}
\DoxyCodeLine{00125\ \ \ \ \ \textcolor{stringliteral}{"{}0"{}},}
\DoxyCodeLine{00126\ \ \ \ \ \textcolor{stringliteral}{"{}Index\ of\ the\ part\ to\ run\ (supersedes\ -\/nskip\ and\ -\/runlen\ if\ non-\/zero)"{}}\ \},}
\DoxyCodeLine{00127\ \ \ }
\DoxyCodeLine{00128\ \ \ \{\ \textcolor{stringliteral}{"{}-\/npart"{}},}
\DoxyCodeLine{00129\ \ \ \ \ ARG\_INT32,}
\DoxyCodeLine{00130\ \ \ \ \ \textcolor{stringliteral}{"{}0"{}},}
\DoxyCodeLine{00131\ \ \ \ \ \textcolor{stringliteral}{"{}Number\ of\ parts\ to\ run\ in\ (supersedes\ -\/nskip\ and\ -\/runlen\ if\ non-\/zero)"{}}\ \},}
\DoxyCodeLine{00132\ \ \ }
\DoxyCodeLine{00133\ \ \ \{\ \textcolor{stringliteral}{"{}-\/di"{}},}
\DoxyCodeLine{00134\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00135\ \ \ \ \ NULL,}
\DoxyCodeLine{00136\ \ \ \ \ \textcolor{stringliteral}{"{}Input\ directory,\ input\ file\ names\ are\ relative\ to\ this,\ if\ defined"{}}\ \},}
\DoxyCodeLine{00137\ \ \ }
\DoxyCodeLine{00138\ \ \ \{\ \textcolor{stringliteral}{"{}-\/ei"{}},}
\DoxyCodeLine{00139\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00140\ \ \ \ \ NULL,}
\DoxyCodeLine{00141\ \ \ \ \ \textcolor{stringliteral}{"{}Input\ extension\ to\ be\ applied\ to\ all\ input\ files"{}}\ \},}
\DoxyCodeLine{00142\ \ \ }
\DoxyCodeLine{00143\ \ \ \{\ \textcolor{stringliteral}{"{}-\/do"{}},}
\DoxyCodeLine{00144\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00145\ \ \ \ \ NULL,}
\DoxyCodeLine{00146\ \ \ \ \ \textcolor{stringliteral}{"{}Output\ directory,\ output\ files\ are\ relative\ to\ this"{}}\ \},}
\DoxyCodeLine{00147\ \ \ }
\DoxyCodeLine{00148\ \ \ \{\ \textcolor{stringliteral}{"{}-\/eo"{}},}
\DoxyCodeLine{00149\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00150\ \ \ \ \ NULL,}
\DoxyCodeLine{00151\ \ \ \ \ \textcolor{stringliteral}{"{}Output\ extension\ to\ be\ applied\ to\ all\ output\ files"{}}\ \},}
\DoxyCodeLine{00152\ \ \ }
\DoxyCodeLine{00153\ \ \ \{\ \textcolor{stringliteral}{"{}-\/build\_outdirs"{}},}
\DoxyCodeLine{00154\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00155\ \ \ \ \ \textcolor{stringliteral}{"{}yes"{}},}
\DoxyCodeLine{00156\ \ \ \ \ \textcolor{stringliteral}{"{}Create\ missing\ subdirectories\ in\ output\ directory"{}}\ \},}
\DoxyCodeLine{00157\ }
\DoxyCodeLine{00158\ \ \ \{\ \textcolor{stringliteral}{"{}-\/sph2pipe"{}},}
\DoxyCodeLine{00159\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00160\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00161\ \ \ \ \ \textcolor{stringliteral}{"{}Input\ is\ NIST\ sphere\ (possibly\ with\ Shorten),\ use\ sph2pipe\ to\ convert"{}}\ \},}
\DoxyCodeLine{00162\ }
\DoxyCodeLine{00163\ \ \ \{\ \textcolor{stringliteral}{"{}-\/nist"{}},}
\DoxyCodeLine{00164\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00165\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00166\ \ \ \ \ \textcolor{stringliteral}{"{}Defines\ input\ format\ as\ NIST\ sphere"{}}\ \},}
\DoxyCodeLine{00167\ \ \ }
\DoxyCodeLine{00168\ \ \ \{\ \textcolor{stringliteral}{"{}-\/raw"{}},}
\DoxyCodeLine{00169\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00170\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00171\ \ \ \ \ \textcolor{stringliteral}{"{}Defines\ input\ format\ as\ raw\ binary\ data"{}}\ \},}
\DoxyCodeLine{00172\ \ \ }
\DoxyCodeLine{00173\ \ \ \{\ \textcolor{stringliteral}{"{}-\/mswav"{}},}
\DoxyCodeLine{00174\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00175\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00176\ \ \ \ \ \textcolor{stringliteral}{"{}Defines\ input\ format\ as\ Microsoft\ Wav\ (RIFF)"{}}\ \},}
\DoxyCodeLine{00177\ \ \ }
\DoxyCodeLine{00178\ \textcolor{preprocessor}{\#ifdef\ HAVE\_SNDFILE\_H}}
\DoxyCodeLine{00179\ \ \ \{\ \textcolor{stringliteral}{"{}-\/sndfile"{}},}
\DoxyCodeLine{00180\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00181\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00182\ \ \ \ \ \textcolor{stringliteral}{"{}Use\ libsndfile\ to\ read\ input\ data"{}}\ \},}
\DoxyCodeLine{00183\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00184\ \ \ }
\DoxyCodeLine{00185\ \ \ \{\ \textcolor{stringliteral}{"{}-\/nchans"{}},}
\DoxyCodeLine{00186\ \ \ \ \ ARG\_INT32,}
\DoxyCodeLine{00187\ \ \ \ \ \textcolor{stringliteral}{"{}1"{}},}
\DoxyCodeLine{00188\ \ \ \ \ \textcolor{stringliteral}{"{}Number\ of\ channels\ of\ data\ (interlaced\ samples\ assumed)"{}}\ \},}
\DoxyCodeLine{00189\ \ \ }
\DoxyCodeLine{00190\ \ \ \{\ \textcolor{stringliteral}{"{}-\/whichchan"{}},}
\DoxyCodeLine{00191\ \ \ \ \ ARG\_INT32,}
\DoxyCodeLine{00192\ \ \ \ \ \textcolor{stringliteral}{"{}0"{}},}
\DoxyCodeLine{00193\ \ \ \ \ \textcolor{stringliteral}{"{}Channel\ to\ process\ (numbered\ from\ 1),\ or\ 0\ to\ mix\ all\ channels"{}}\ \},}
\DoxyCodeLine{00194\ \ \ }
\DoxyCodeLine{00195\ \ \ \{\ \textcolor{stringliteral}{"{}-\/ofmt"{}},}
\DoxyCodeLine{00196\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00197\ \ \ \ \ \textcolor{stringliteral}{"{}sphinx"{}},}
\DoxyCodeLine{00198\ \ \ \ \ \textcolor{stringliteral}{"{}Format\ of\ output\ files\ -\/\ one\ of\ sphinx,\ htk,\ text."{}}\ \},}
\DoxyCodeLine{00199\ \ \ }
\DoxyCodeLine{00200\ \ \ \{\ \textcolor{stringliteral}{"{}-\/mach\_endian"{}},}
\DoxyCodeLine{00201\ \ \ \ \ ARG\_STRING,}
\DoxyCodeLine{00202\ \textcolor{preprocessor}{\#ifdef\ WORDS\_BIGENDIAN}}
\DoxyCodeLine{00203\ \ \ \ \ \textcolor{stringliteral}{"{}big"{}},}
\DoxyCodeLine{00204\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00205\ \ \ \ \ \textcolor{stringliteral}{"{}little"{}},}
\DoxyCodeLine{00206\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00207\ \ \ \ \ \textcolor{stringliteral}{"{}Endianness\ of\ machine,\ big\ or\ little"{}}\ \},}
\DoxyCodeLine{00208\ \ \ }
\DoxyCodeLine{00209\ \ \ \{\ \textcolor{stringliteral}{"{}-\/blocksize"{}},}
\DoxyCodeLine{00210\ \ \ \ \ ARG\_INT32,}
\DoxyCodeLine{00211\ \ \ \ \ \textcolor{stringliteral}{"{}2048"{}},}
\DoxyCodeLine{00212\ \ \ \ \ \textcolor{stringliteral}{"{}Number\ of\ samples\ to\ read\ at\ a\ time."{}}\ \},}
\DoxyCodeLine{00213\ }
\DoxyCodeLine{00214\ \ \ \{\ \textcolor{stringliteral}{"{}-\/spec2cep"{}},}
\DoxyCodeLine{00215\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00216\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00217\ \ \ \ \ \textcolor{stringliteral}{"{}Input\ is\ log\ spectral\ files,\ output\ is\ cepstral\ files"{}}\ \},}
\DoxyCodeLine{00218\ }
\DoxyCodeLine{00219\ \ \ \{\ \textcolor{stringliteral}{"{}-\/cep2spec"{}},}
\DoxyCodeLine{00220\ \ \ \ \ ARG\_BOOLEAN,}
\DoxyCodeLine{00221\ \ \ \ \ \textcolor{stringliteral}{"{}no"{}},}
\DoxyCodeLine{00222\ \ \ \ \ \textcolor{stringliteral}{"{}Input\ is\ cepstral\ files,\ output\ is\ log\ spectral\ files"{}}\ \},}
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00224\ \ \ \{\ NULL,\ 0,\ NULL,\ NULL\ \}}
\DoxyCodeLine{00225\ \};}
\DoxyCodeLine{00226\ }
\DoxyCodeLine{00227\ \ \ \ \ }
\DoxyCodeLine{00228\ \textcolor{preprocessor}{\#define\ CMD\_LN\_DEFN\_H}}
\DoxyCodeLine{00229\ }
\DoxyCodeLine{00230\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ CMD\_LN\_DEFN\_H\ */}\textcolor{preprocessor}{\ }}
\DoxyCodeLine{00231\ }
\DoxyCodeLine{00232\ \textcolor{comment}{/*}}
\DoxyCodeLine{00233\ \textcolor{comment}{\ *\ Log\ record.\ \ Maintained\ by\ RCS.}}
\DoxyCodeLine{00234\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00235\ \textcolor{comment}{\ *\ \$Log:\ cmd\_ln\_defn.h,v\ \$}}
\DoxyCodeLine{00236\ \textcolor{comment}{\ *\ Revision\ 1.7\ \ 2006/02/25\ 00:53:48\ \ egouvea}}
\DoxyCodeLine{00237\ \textcolor{comment}{\ *\ Added\ the\ flag\ "{}-\/seed"{}.\ If\ dither\ is\ being\ used\ and\ the\ seed\ is\ less}}
\DoxyCodeLine{00238\ \textcolor{comment}{\ *\ than\ zero,\ the\ random\ number\ generator\ is\ initialized\ with\ time().\ If}}
\DoxyCodeLine{00239\ \textcolor{comment}{\ *\ it\ is\ at\ least\ zero,\ it's\ initialized\ with\ the\ provided\ seed.\ This\ way}}
\DoxyCodeLine{00240\ \textcolor{comment}{\ *\ we\ have\ the\ benefit\ of\ having\ dither,\ and\ the\ benefit\ of\ being}}
\DoxyCodeLine{00241\ \textcolor{comment}{\ *\ repeatable.}}
\DoxyCodeLine{00242\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00243\ \textcolor{comment}{\ *\ This\ is\ consistent\ with\ what\ sphinx3\ does.\ Well,\ almost.\ The\ random}}
\DoxyCodeLine{00244\ \textcolor{comment}{\ *\ number\ generator\ is\ still\ what\ the\ compiler\ provides.}}
\DoxyCodeLine{00245\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00246\ \textcolor{comment}{\ *\ Also,\ moved\ fe\_init\_params\ to\ fe\_interface.c,\ so\ one\ can\ initialize\ a}}
\DoxyCodeLine{00247\ \textcolor{comment}{\ *\ variable\ of\ type\ param\_t\ with\ meaningful\ values.}}
\DoxyCodeLine{00248\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00249\ \textcolor{comment}{\ *\ Revision\ 1.6\ \ 2006/02/17\ 00:31:34\ \ egouvea}}
\DoxyCodeLine{00250\ \textcolor{comment}{\ *\ Removed\ switch\ -\/melwarp.\ Changed\ the\ default\ for\ window\ length\ to}}
\DoxyCodeLine{00251\ \textcolor{comment}{\ *\ 0.025625\ from\ 0.256\ (so\ that\ a\ window\ at\ 16kHz\ sampling\ rate\ has}}
\DoxyCodeLine{00252\ \textcolor{comment}{\ *\ exactly\ 410\ samples).\ Cleaned\ up\ include's.\ Replaced\ some\ E\_FATAL()}}
\DoxyCodeLine{00253\ \textcolor{comment}{\ *\ with\ E\_WARN()\ and\ return.}}
\DoxyCodeLine{00254\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00255\ \textcolor{comment}{\ *\ Revision\ 1.5\ \ 2006/02/16\ 00:18:26\ \ egouvea}}
\DoxyCodeLine{00256\ \textcolor{comment}{\ *\ Implemented\ flexible\ warping\ function.\ The\ user\ can\ specify\ at\ run}}
\DoxyCodeLine{00257\ \textcolor{comment}{\ *\ time\ which\ of\ several\ shapes\ they\ want\ to\ use.\ Currently\ implemented}}
\DoxyCodeLine{00258\ \textcolor{comment}{\ *\ are\ an\ affine\ function\ (y\ =\ ax\ +\ b),\ an\ inverse\ linear\ (y\ =\ a/x)\ and\ a}}
\DoxyCodeLine{00259\ \textcolor{comment}{\ *\ piecewise\ linear\ (y\ =\ ax,\ up\ to\ a\ frequency\ F,\ and\ then\ it\ "{}breaks"{}\ so}}
\DoxyCodeLine{00260\ \textcolor{comment}{\ *\ Nyquist\ frequency\ matches\ in\ both\ scales.}}
\DoxyCodeLine{00261\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00262\ \textcolor{comment}{\ *\ Added\ two\ switches,\ -\/warp\_type\ and\ -\/warp\_params.\ The\ first\ specifies}}
\DoxyCodeLine{00263\ \textcolor{comment}{\ *\ the\ type,\ which\ valid\ values:}}
\DoxyCodeLine{00264\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00265\ \textcolor{comment}{\ *\ -\/inverse\ or\ inverse\_linear}}
\DoxyCodeLine{00266\ \textcolor{comment}{\ *\ -\/linear\ or\ affine}}
\DoxyCodeLine{00267\ \textcolor{comment}{\ *\ -\/piecewise\ or\ piecewise\_linear}}
\DoxyCodeLine{00268\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00269\ \textcolor{comment}{\ *\ The\ inverse\_linear\ is\ the\ same\ as\ implemented\ by\ EHT.\ The\ -\/mel\_warp}}
\DoxyCodeLine{00270\ \textcolor{comment}{\ *\ switch\ was\ kept\ for\ compatibility\ (maybe\ remove\ it\ in\ the}}
\DoxyCodeLine{00271\ \textcolor{comment}{\ *\ future?).\ The\ code\ is\ compatible\ with\ EHT's\ changes:\ cepstra\ created}}
\DoxyCodeLine{00272\ \textcolor{comment}{\ *\ from\ code\ after\ his\ changes\ should\ be\ the\ same\ as\ now.\ Scripts\ that}}
\DoxyCodeLine{00273\ \textcolor{comment}{\ *\ worked\ with\ his\ changes\ should\ work\ now\ without\ changes.\ Tested\ a\ few}}
\DoxyCodeLine{00274\ \textcolor{comment}{\ *\ cases,\ same\ results.}}
\DoxyCodeLine{00275\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00276\ \textcolor{comment}{\ *\ Revision\ 1.4\ \ 2006/02/14\ 20:56:54\ \ eht}}
\DoxyCodeLine{00277\ \textcolor{comment}{\ *\ Implement\ an\ argument\ -\/melwarp\ that\ changes\ the\ standard\ mel-\/scale}}
\DoxyCodeLine{00278\ \textcolor{comment}{\ *\ equation\ from:}}
\DoxyCodeLine{00279\ \textcolor{comment}{\ *\ \ \ \ \ \ M(f)\ =\ 2595\ *\ log10(\ 1\ +\ f/700\ )}}
\DoxyCodeLine{00280\ \textcolor{comment}{\ *\ to:}}
\DoxyCodeLine{00281\ \textcolor{comment}{\ *\ \ \ \ \ \ M(f,w)\ =\ 2595\ *\ log10(\ 1\ +\ f/(700*w))}}
\DoxyCodeLine{00282\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00283\ \textcolor{comment}{\ *\ So,\ 1.0\ means\ no\ warp,\ \ w\ >\ 1.0\ means\ linear\ compression\ w\ <\ 1.0\ means}}
\DoxyCodeLine{00284\ \textcolor{comment}{\ *\ linear\ expansion.}}
\DoxyCodeLine{00285\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00286\ \textcolor{comment}{\ *\ Implement\ argument\ -\/nskip\ and\ -\/runlen\ arguments\ so\ that\ a\ subset\ of\ the}}
\DoxyCodeLine{00287\ \textcolor{comment}{\ *\ utterances\ in\ the\ control\ file\ can\ be\ executed.\ \ Allows\ a\ simple}}
\DoxyCodeLine{00288\ \textcolor{comment}{\ *\ distribution\ of\ wave2feat\ processing\ over\ N\ processors.}}
\DoxyCodeLine{00289\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00290\ \textcolor{comment}{\ *\ Revision\ 1.3\ \ 2005/05/19\ 21:21:55\ \ egouvea}}
\DoxyCodeLine{00291\ \textcolor{comment}{\ *\ Bug\ \#1176394:\ example\ bug}}
\DoxyCodeLine{00292\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00293\ \textcolor{comment}{\ *\ Revision\ 1.2\ \ 2004/11/23\ 04:14:06\ \ egouvea}}
\DoxyCodeLine{00294\ \textcolor{comment}{\ *\ Fixed\ bug\ in\ cmd\_ln.c\ in\ which\ a\ wrong\ boolean\ argument\ led\ into\ an}}
\DoxyCodeLine{00295\ \textcolor{comment}{\ *\ infinite\ loop,\ and\ fixed\ the\ help\ and\ example\ strings,\ getting\ rid\ of}}
\DoxyCodeLine{00296\ \textcolor{comment}{\ *\ spaces,\ so\ that\ the\ appearance\ is\ better.}}
\DoxyCodeLine{00297\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00298\ \textcolor{comment}{\ *\ Revision\ 1.1\ \ 2004/09/09\ 17:59:30\ \ egouvea}}
\DoxyCodeLine{00299\ \textcolor{comment}{\ *\ Adding\ missing\ files\ to\ wave2feat}}
\DoxyCodeLine{00300\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00301\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00302\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00303\ \textcolor{comment}{\ */}}

\end{DoxyCode}
