\doxysection{mulaw.\+h}
\label{mulaw_8h_source}\index{include/sphinxbase/mulaw.h@{include/sphinxbase/mulaw.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ -\/*-\/\ c-\/basic-\/offset:\ 4;\ indent-\/tabs-\/mode:\ nil\ -\/*-\/\ */}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*\ ====================================================================}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1999-\/2001\ Carnegie\ Mellon\ University.\ \ All\ rights}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Redistribution\ and\ use\ in\ source\ and\ binary\ forms,\ with\ or\ without}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ modification,\ are\ permitted\ provided\ that\ the\ following\ conditions}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ are\ met:}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ 1.\ Redistributions\ of\ source\ code\ must\ retain\ the\ above\ copyright}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer.\ }}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ 2.\ Redistributions\ in\ binary\ form\ must\ reproduce\ the\ above\ copyright}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer\ in}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ \ \ the\ documentation\ and/or\ other\ materials\ provided\ with\ the}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ \ \ distribution.}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ This\ work\ was\ supported\ in\ part\ by\ funding\ from\ the\ Defense\ Advanced\ }}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Research\ Projects\ Agency\ and\ the\ National\ Science\ Foundation\ of\ the\ }}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ United\ States\ of\ America,\ and\ the\ CMU\ Sphinx\ Speech\ Consortium.}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ THIS\ SOFTWARE\ IS\ PROVIDED\ BY\ CARNEGIE\ MELLON\ UNIVERSITY\ \`{}\`{}AS\ IS''\ AND\ }}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ ANY\ EXPRESSED\ OR\ IMPLIED\ WARRANTIES,\ INCLUDING,\ BUT\ NOT\ LIMITED\ TO,\ }}
\DoxyCodeLine{00024\ \textcolor{comment}{\ *\ THE\ IMPLIED\ WARRANTIES\ OF\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ A\ PARTICULAR}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ *\ PURPOSE\ ARE\ DISCLAIMED.\ \ IN\ NO\ EVENT\ SHALL\ CARNEGIE\ MELLON\ UNIVERSITY}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ *\ NOR\ ITS\ EMPLOYEES\ BE\ LIABLE\ FOR\ ANY\ DIRECT,\ INDIRECT,\ INCIDENTAL,}}
\DoxyCodeLine{00027\ \textcolor{comment}{\ *\ SPECIAL,\ EXEMPLARY,\ OR\ CONSEQUENTIAL\ DAMAGES\ (INCLUDING,\ BUT\ NOT\ }}
\DoxyCodeLine{00028\ \textcolor{comment}{\ *\ LIMITED\ TO,\ PROCUREMENT\ OF\ SUBSTITUTE\ GOODS\ OR\ SERVICES;\ LOSS\ OF\ USE,\ }}
\DoxyCodeLine{00029\ \textcolor{comment}{\ *\ DATA,\ OR\ PROFITS;\ OR\ BUSINESS\ INTERRUPTION)\ HOWEVER\ CAUSED\ AND\ ON\ ANY\ }}
\DoxyCodeLine{00030\ \textcolor{comment}{\ *\ THEORY\ OF\ LIABILITY,\ WHETHER\ IN\ CONTRACT,\ STRICT\ LIABILITY,\ OR\ TORT\ }}
\DoxyCodeLine{00031\ \textcolor{comment}{\ *\ (INCLUDING\ NEGLIGENCE\ OR\ OTHERWISE)\ ARISING\ IN\ ANY\ WAY\ OUT\ OF\ THE\ USE\ }}
\DoxyCodeLine{00032\ \textcolor{comment}{\ *\ OF\ THIS\ SOFTWARE,\ EVEN\ IF\ ADVISED\ OF\ THE\ POSSIBILITY\ OF\ SUCH\ DAMAGE.}}
\DoxyCodeLine{00033\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00034\ \textcolor{comment}{\ *\ ====================================================================}}
\DoxyCodeLine{00035\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00036\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00037\ \textcolor{comment}{/*}}
\DoxyCodeLine{00038\ \textcolor{comment}{\ *\ muLaw.h\ -\/-\/\ Table\ for\ converting\ mu-\/law\ data\ into\ 16-\/bit\ linear\ PCM\ format.}}
\DoxyCodeLine{00039\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00040\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00041\ \textcolor{comment}{\ *\ CMU\ ARPA\ Speech\ Project}}
\DoxyCodeLine{00042\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00043\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1996\ Carnegie\ Mellon\ University.}}
\DoxyCodeLine{00044\ \textcolor{comment}{\ *\ ALL\ RIGHTS\ RESERVED.}}
\DoxyCodeLine{00045\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00046\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00047\ \textcolor{comment}{\ *\ HISTORY}}
\DoxyCodeLine{00048\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00049\ \textcolor{comment}{\ *\ 21-\/Jul-\/97\ \ \ \ M\ K\ Ravishankar\ (rkm@cs.cmu.edu)\ at\ Carnegie\ Mellon\ University}}
\DoxyCodeLine{00050\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ Created\ from\ Sunil\ Issar's\ version.}}
\DoxyCodeLine{00051\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00059\ \textcolor{preprocessor}{\#ifndef\ \_MULAW\_H\_}}
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#define\ \_MULAW\_H\_}}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ \textcolor{keyword}{static}\ int16\ muLaw[256]\ =\ \{}
\DoxyCodeLine{00064\ \ -\/0x1f5f,\ -\/0x1e5f,\ -\/0x1d5f,\ -\/0x1c5f,\ -\/0x1b5f,\ -\/0x1a5f,\ -\/0x195f,\ -\/0x185f,}
\DoxyCodeLine{00065\ \ -\/0x175f,\ -\/0x165f,\ -\/0x155f,\ -\/0x145f,\ -\/0x135f,\ -\/0x125f,\ -\/0x115f,\ -\/0x105f,}
\DoxyCodeLine{00066\ \ -\/0x0f9f,\ -\/0x0f1f,\ -\/0x0e9f,\ -\/0x0e1f,\ -\/0x0d9f,\ -\/0x0d1f,\ -\/0x0c9f,\ -\/0x0c1f,}
\DoxyCodeLine{00067\ \ -\/0x0b9f,\ -\/0x0b1f,\ -\/0x0a9f,\ -\/0x0a1f,\ -\/0x099f,\ -\/0x091f,\ -\/0x089f,\ -\/0x081f,}
\DoxyCodeLine{00068\ \ -\/0x07bf,\ -\/0x077f,\ -\/0x073f,\ -\/0x06ff,\ -\/0x06bf,\ -\/0x067f,\ -\/0x063f,\ -\/0x05ff,}
\DoxyCodeLine{00069\ \ -\/0x05bf,\ -\/0x057f,\ -\/0x053f,\ -\/0x04ff,\ -\/0x04bf,\ -\/0x047f,\ -\/0x043f,\ -\/0x03ff,}
\DoxyCodeLine{00070\ \ -\/0x03cf,\ -\/0x03af,\ -\/0x038f,\ -\/0x036f,\ -\/0x034f,\ -\/0x032f,\ -\/0x030f,\ -\/0x02ef,}
\DoxyCodeLine{00071\ \ -\/0x02cf,\ -\/0x02af,\ -\/0x028f,\ -\/0x026f,\ -\/0x024f,\ -\/0x022f,\ -\/0x020f,\ -\/0x01ef,}
\DoxyCodeLine{00072\ \ -\/0x01d7,\ -\/0x01c7,\ -\/0x01b7,\ -\/0x01a7,\ -\/0x0197,\ -\/0x0187,\ -\/0x0177,\ -\/0x0167,}
\DoxyCodeLine{00073\ \ -\/0x0157,\ -\/0x0147,\ -\/0x0137,\ -\/0x0127,\ -\/0x0117,\ -\/0x0107,\ -\/0x00f7,\ -\/0x00e7,}
\DoxyCodeLine{00074\ \ -\/0x00db,\ -\/0x00d3,\ -\/0x00cb,\ -\/0x00c3,\ -\/0x00bb,\ -\/0x00b3,\ -\/0x00ab,\ -\/0x00a3,}
\DoxyCodeLine{00075\ \ -\/0x009b,\ -\/0x0093,\ -\/0x008b,\ -\/0x0083,\ -\/0x007b,\ -\/0x0073,\ -\/0x006b,\ -\/0x0063,}
\DoxyCodeLine{00076\ \ -\/0x005d,\ -\/0x0059,\ -\/0x0055,\ -\/0x0051,\ -\/0x004d,\ -\/0x0049,\ -\/0x0045,\ -\/0x0041,}
\DoxyCodeLine{00077\ \ -\/0x003d,\ -\/0x0039,\ -\/0x0035,\ -\/0x0031,\ -\/0x002d,\ -\/0x0029,\ -\/0x0025,\ -\/0x0021,}
\DoxyCodeLine{00078\ \ -\/0x001e,\ -\/0x001c,\ -\/0x001a,\ -\/0x0018,\ -\/0x0016,\ -\/0x0014,\ -\/0x0012,\ -\/0x0010,}
\DoxyCodeLine{00079\ \ -\/0x000e,\ -\/0x000c,\ -\/0x000a,\ -\/0x0008,\ -\/0x0006,\ -\/0x0004,\ -\/0x0002,\ \ 0x0000,}
\DoxyCodeLine{00080\ \ \ 0x1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db,\ \ 0x00d3,\ \ 0x00cb,\ \ 0x00c3,\ \ 0x00bb,\ \ 0x00b3,\ \ 0x00ab,\ \ 0x00a3,}
\DoxyCodeLine{00091\ \ \ 0x009b,\ \ 0x0093,\ \ 0x008b,\ \ 0x0083,\ \ 0x007b,\ \ 0x0073,\ \ 0x006b,\ \ 0x0063,}
\DoxyCodeLine{00092\ \ \ 0x005d,\ \ 0x0059,\ \ 0x0055,\ \ 0x0051,\ \ 0x004d,\ \ 0x0049,\ \ 0x0045,\ \ 0x0041,}
\DoxyCodeLine{00093\ \ \ 0x003d,\ \ 0x0039,\ \ 0x0035,\ \ 0x0031,\ \ 0x002d,\ \ 0x0029,\ \ 0x0025,\ \ 0x0021,}
\DoxyCodeLine{00094\ \ \ 0x001e,\ \ 0x001c,\ \ 0x001a,\ \ 0x0018,\ \ 0x0016,\ \ 0x0014,\ \ 0x0012,\ \ 0x0010,}
\DoxyCodeLine{00095\ \ \ 0x000e,\ \ 0x000c,\ \ 0x000a,\ \ 0x0008,\ \ 0x0006,\ \ 0x0004,\ \ 0x0002,\ \ 0x0000,}
\DoxyCodeLine{00096\ \};}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00098\ }
\DoxyCodeLine{00099\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
