\doxysection{fe\+\_\+warp\+\_\+inverse\+\_\+linear.\+c}
\label{fe__warp__inverse__linear_8c_source}\index{src/libsphinxbase/fe/fe\_warp\_inverse\_linear.c@{src/libsphinxbase/fe/fe\_warp\_inverse\_linear.c}}

\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)\ 2006\ 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}{\ *}}
\DoxyCodeLine{00039\ \textcolor{comment}{\ *\ File:\ fe\_warp\_inverse\_linear.c}}
\DoxyCodeLine{00040\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00041\ \textcolor{comment}{\ *\ Description:\ }}
\DoxyCodeLine{00042\ \textcolor{comment}{\ *\ \ \ \ \ \ Warp\ the\ frequency\ axis\ according\ to\ an\ inverse\_linear\ function,\ i.e.:}}
\DoxyCodeLine{00043\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00044\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ w'\ =\ w\ /\ a}}
\DoxyCodeLine{00045\ \textcolor{comment}{\ *\ \ \ \ \ \ }}
\DoxyCodeLine{00046\ \textcolor{comment}{\ *********************************************************************/}}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \textcolor{comment}{/*\ static\ char\ rcsid[]\ =\ "{}@(\#)\$Id:\ fe\_warp\_inverse\_linear.c,v\ 1.3\ 2006/02/23\ 19:40:11\ eht\ Exp\ \$"{};\ */}}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{preprocessor}{\#include\ <stdio.h>}}
\DoxyCodeLine{00051\ \textcolor{preprocessor}{\#include\ <stdlib.h>}}
\DoxyCodeLine{00052\ \textcolor{preprocessor}{\#include\ <math.h>}}
\DoxyCodeLine{00053\ \textcolor{preprocessor}{\#include\ <string.h>}}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \textcolor{preprocessor}{\#ifdef\ \_MSC\_VER}}
\DoxyCodeLine{00056\ \textcolor{preprocessor}{\#pragma\ warning\ (disable:\ 4996)}}
\DoxyCodeLine{00057\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00059\ \textcolor{preprocessor}{\#include\ "{}sphinxbase/strfuncs.h"{}}}
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#include\ "{}sphinxbase/err.h"{}}}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ \textcolor{preprocessor}{\#include\ "{}fe\_warp.h"{}}}
\DoxyCodeLine{00063\ \textcolor{preprocessor}{\#include\ "{}fe\_warp\_inverse\_linear.h"{}}}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00065\ \textcolor{preprocessor}{\#define\ N\_PARAM\ \ \ \ \ \ \ \ \ 1}}
\DoxyCodeLine{00066\ \textcolor{preprocessor}{\#define\ YES\ \ \ \ \ \ \ \ \ \ \ \ \ 1}}
\DoxyCodeLine{00067\ \textcolor{preprocessor}{\#define\ NO\ \ \ \ \ \ \ \ \ \ \ \ \ \ 0}}
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00069\ \textcolor{comment}{/*}}
\DoxyCodeLine{00070\ \textcolor{comment}{\ *\ params[0]\ :\ a}}
\DoxyCodeLine{00071\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00072\ \textcolor{keyword}{static}\ \textcolor{keywordtype}{float}\ params[N\_PARAM]\ =\ \{\ 1.0f\ \};}
\DoxyCodeLine{00073\ \textcolor{keyword}{static}\ int32\ is\_neutral\ =\ YES;}
\DoxyCodeLine{00074\ \textcolor{keyword}{static}\ \textcolor{keywordtype}{char}\ p\_str[256]\ =\ \textcolor{stringliteral}{"{}"{}};}
\DoxyCodeLine{00075\ \textcolor{keyword}{static}\ \textcolor{keywordtype}{float}\ nyquist\_frequency\ =\ 0.0f;}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00078\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *}
\DoxyCodeLine{00079\ fe\_warp\_inverse\_linear\_doc()}
\DoxyCodeLine{00080\ \{}
\DoxyCodeLine{00081\ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{stringliteral}{"{}inverse\_linear\ :==\ <\ w'\ =\ x\ /\ a\ >"{}};}
\DoxyCodeLine{00082\ \}}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ uint32}
\DoxyCodeLine{00085\ fe\_warp\_inverse\_linear\_id()}
\DoxyCodeLine{00086\ \{}
\DoxyCodeLine{00087\ \ \ \ \ \textcolor{keywordflow}{return}\ FE\_WARP\_ID\_INVERSE\_LINEAR;}
\DoxyCodeLine{00088\ \}}
\DoxyCodeLine{00089\ }
\DoxyCodeLine{00090\ uint32}
\DoxyCodeLine{00091\ fe\_warp\_inverse\_linear\_n\_param()}
\DoxyCodeLine{00092\ \{}
\DoxyCodeLine{00093\ \ \ \ \ \textcolor{keywordflow}{return}\ N\_PARAM;}
\DoxyCodeLine{00094\ \}}
\DoxyCodeLine{00095\ }
\DoxyCodeLine{00096\ \textcolor{keywordtype}{void}}
\DoxyCodeLine{00097\ fe\_warp\_inverse\_linear\_set\_parameters(\textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *param\_str,\ \textcolor{keywordtype}{float}\ sampling\_rate)}
\DoxyCodeLine{00098\ \{}
\DoxyCodeLine{00099\ \ \ \ \ \textcolor{keywordtype}{char}\ *tok;}
\DoxyCodeLine{00100\ \ \ \ \ \textcolor{keywordtype}{char}\ *seps\ =\ \textcolor{stringliteral}{"{}\ \(\backslash\)t"{}};}
\DoxyCodeLine{00101\ \ \ \ \ \textcolor{keywordtype}{char}\ temp\_param\_str[256];}
\DoxyCodeLine{00102\ \ \ \ \ \textcolor{keywordtype}{int}\ param\_index\ =\ 0;}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00104\ \ \ \ \ nyquist\_frequency\ =\ sampling\_rate\ /\ 2;}
\DoxyCodeLine{00105\ \ \ \ \ \textcolor{keywordflow}{if}\ (param\_str\ ==\ NULL)\ \{}
\DoxyCodeLine{00106\ \ \ \ \ \ \ \ \ is\_neutral\ =\ YES;}
\DoxyCodeLine{00107\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return};}
\DoxyCodeLine{00108\ \ \ \ \ \}}
\DoxyCodeLine{00109\ \ \ \ \ \textcolor{comment}{/*\ The\ new\ parameters\ are\ the\ same\ as\ the\ current\ ones,\ so\ do\ nothing.\ */}}
\DoxyCodeLine{00110\ \ \ \ \ \textcolor{keywordflow}{if}\ (strcmp(param\_str,\ p\_str)\ ==\ 0)\ \{}
\DoxyCodeLine{00111\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return};}
\DoxyCodeLine{00112\ \ \ \ \ \}}
\DoxyCodeLine{00113\ \ \ \ \ is\_neutral\ =\ NO;}
\DoxyCodeLine{00114\ \ \ \ \ strcpy(temp\_param\_str,\ param\_str);}
\DoxyCodeLine{00115\ \ \ \ \ memset(params,\ 0,\ N\_PARAM\ *\ \textcolor{keyword}{sizeof}(\textcolor{keywordtype}{float}));}
\DoxyCodeLine{00116\ \ \ \ \ strcpy(p\_str,\ param\_str);}
\DoxyCodeLine{00117\ \ \ \ \ \textcolor{comment}{/*\ FIXME:\ strtok()\ is\ not\ re-\/entrant...\ */}}
\DoxyCodeLine{00118\ \ \ \ \ tok\ =\ strtok(temp\_param\_str,\ seps);}
\DoxyCodeLine{00119\ \ \ \ \ \textcolor{keywordflow}{while}\ (tok\ !=\ NULL)\ \{}
\DoxyCodeLine{00120\ \ \ \ \ \ \ \ \ params[param\_index++]\ =\ (float)\ atof\_c(tok);}
\DoxyCodeLine{00121\ \ \ \ \ \ \ \ \ tok\ =\ strtok(NULL,\ seps);}
\DoxyCodeLine{00122\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (param\_index\ >=\ N\_PARAM)\ \{}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00125\ \ \ \ \ \}}
\DoxyCodeLine{00126\ \ \ \ \ \textcolor{keywordflow}{if}\ (tok\ !=\ NULL)\ \{}
\DoxyCodeLine{00127\ \ \ \ \ \ \ \ \ E\_INFO}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ \ \ \ \ (\textcolor{stringliteral}{"{}Inverse\ linear\ warping\ takes\ only\ one\ argument,\ \%s\ ignored.\(\backslash\)n"{}},}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \ \ \ \ \ tok);}
\DoxyCodeLine{00130\ \ \ \ \ \}}
\DoxyCodeLine{00131\ \ \ \ \ \textcolor{keywordflow}{if}\ (params[0]\ ==\ 0)\ \{}
\DoxyCodeLine{00132\ \ \ \ \ \ \ \ \ is\_neutral\ =\ YES;}
\DoxyCodeLine{00133\ \ \ \ \ \ \ \ \ E\_INFO}
\DoxyCodeLine{00134\ \ \ \ \ \ \ \ \ \ \ \ \ (\textcolor{stringliteral}{"{}Inverse\ linear\ warping\ cannot\ have\ slope\ zero,\ warping\ not\ applied.\(\backslash\)n"{}});}
\DoxyCodeLine{00135\ \ \ \ \ \}}
\DoxyCodeLine{00136\ \}}
\DoxyCodeLine{00137\ }
\DoxyCodeLine{00138\ \textcolor{keywordtype}{float}}
\DoxyCodeLine{00139\ fe\_warp\_inverse\_linear\_warped\_to\_unwarped(\textcolor{keywordtype}{float}\ nonlinear)}
\DoxyCodeLine{00140\ \{}
\DoxyCodeLine{00141\ \ \ \ \ \textcolor{keywordflow}{if}\ (is\_neutral)\ \{}
\DoxyCodeLine{00142\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ nonlinear;}
\DoxyCodeLine{00143\ \ \ \ \ \}}
\DoxyCodeLine{00144\ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00145\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ linear\ =\ nonlinear\ *\ a\ */}}
\DoxyCodeLine{00146\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{float}\ temp\ =\ nonlinear\ *\ params[0];}
\DoxyCodeLine{00147\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (temp\ >\ nyquist\_frequency)\ \{}
\DoxyCodeLine{00148\ \ \ \ \ \ \ \ \ \ \ \ \ E\_WARN}
\DoxyCodeLine{00149\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\textcolor{stringliteral}{"{}Warp\ factor\ \%g\ results\ in\ frequency\ (\%.1f)\ higher\ than\ Nyquist\ (\%.1f)\(\backslash\)n"{}},}
\DoxyCodeLine{00150\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ params[0],\ temp,\ nyquist\_frequency);}
\DoxyCodeLine{00151\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00152\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ temp;}
\DoxyCodeLine{00153\ \ \ \ \ \}}
\DoxyCodeLine{00154\ \}}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00156\ \textcolor{keywordtype}{float}}
\DoxyCodeLine{00157\ fe\_warp\_inverse\_linear\_unwarped\_to\_warped(\textcolor{keywordtype}{float}\ linear)}
\DoxyCodeLine{00158\ \{}
\DoxyCodeLine{00159\ \ \ \ \ \textcolor{keywordflow}{if}\ (is\_neutral)\ \{}
\DoxyCodeLine{00160\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ linear;}
\DoxyCodeLine{00161\ \ \ \ \ \}}
\DoxyCodeLine{00162\ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00163\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ nonlinear\ =\ a\ /\ linear\ */}}
\DoxyCodeLine{00164\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{float}\ temp\ =\ linear\ /\ params[0];}
\DoxyCodeLine{00165\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ temp;}
\DoxyCodeLine{00166\ \ \ \ \ \}}
\DoxyCodeLine{00167\ \}}
\DoxyCodeLine{00168\ }
\DoxyCodeLine{00169\ \textcolor{keywordtype}{void}}
\DoxyCodeLine{00170\ fe\_warp\_inverse\_linear\_print(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *label)}
\DoxyCodeLine{00171\ \{}
\DoxyCodeLine{00172\ \ \ \ \ uint32\ i;}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00174\ \ \ \ \ \textcolor{keywordflow}{for}\ (i\ =\ 0;\ i\ <\ N\_PARAM;\ i++)\ \{}
\DoxyCodeLine{00175\ \ \ \ \ \ \ \ \ printf(\textcolor{stringliteral}{"{}\%s[\%04u]:\ \%6.3f\ "{}},\ label,\ i,\ params[i]);}
\DoxyCodeLine{00176\ \ \ \ \ \}}
\DoxyCodeLine{00177\ \ \ \ \ printf(\textcolor{stringliteral}{"{}\(\backslash\)n"{}});}
\DoxyCodeLine{00178\ \}}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00180\ \textcolor{comment}{/*}}
\DoxyCodeLine{00181\ \textcolor{comment}{\ *\ Log\ record.\ \ Maintained\ by\ RCS.}}
\DoxyCodeLine{00182\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00183\ \textcolor{comment}{\ *\ \$Log:\ fe\_warp\_inverse\_linear.c,v\ \$}}
\DoxyCodeLine{00184\ \textcolor{comment}{\ *\ Revision\ 1.3\ \ 2006/02/23\ 19:40:11\ \ eht}}
\DoxyCodeLine{00185\ \textcolor{comment}{\ *\ corrected\ the\ doc\ string\ for\ the\ inverse\ linear\ warp\ function.}}
\DoxyCodeLine{00186\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00187\ \textcolor{comment}{\ *\ Revision\ 1.2\ \ 2006/02/17\ 00:31:34\ \ egouvea}}
\DoxyCodeLine{00188\ \textcolor{comment}{\ *\ Removed\ switch\ -\/melwarp.\ Changed\ the\ default\ for\ window\ length\ to}}
\DoxyCodeLine{00189\ \textcolor{comment}{\ *\ 0.025625\ from\ 0.256\ (so\ that\ a\ window\ at\ 16kHz\ sampling\ rate\ has}}
\DoxyCodeLine{00190\ \textcolor{comment}{\ *\ exactly\ 410\ samples).\ Cleaned\ up\ include's.\ Replaced\ some\ E\_FATAL()}}
\DoxyCodeLine{00191\ \textcolor{comment}{\ *\ with\ E\_WARN()\ and\ return.}}
\DoxyCodeLine{00192\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00193\ \textcolor{comment}{\ *\ Revision\ 1.1\ \ 2006/02/16\ 00:18:26\ \ egouvea}}
\DoxyCodeLine{00194\ \textcolor{comment}{\ *\ Implemented\ flexible\ warping\ function.\ The\ user\ can\ specify\ at\ run}}
\DoxyCodeLine{00195\ \textcolor{comment}{\ *\ time\ which\ of\ several\ shapes\ they\ want\ to\ use.\ Currently\ implemented}}
\DoxyCodeLine{00196\ \textcolor{comment}{\ *\ are\ an\ affine\ function\ (y\ =\ ax\ +\ b),\ an\ inverse\ linear\ (y\ =\ a/x)\ and\ a}}
\DoxyCodeLine{00197\ \textcolor{comment}{\ *\ piecewise\ linear\ (y\ =\ ax,\ up\ to\ a\ frequency\ F,\ and\ then\ it\ "{}breaks"{}\ so}}
\DoxyCodeLine{00198\ \textcolor{comment}{\ *\ Nyquist\ frequency\ matches\ in\ both\ scales.}}
\DoxyCodeLine{00199\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00200\ \textcolor{comment}{\ *\ Added\ two\ switches,\ -\/warp\_type\ and\ -\/warp\_params.\ The\ first\ specifies}}
\DoxyCodeLine{00201\ \textcolor{comment}{\ *\ the\ type,\ which\ valid\ values:}}
\DoxyCodeLine{00202\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00203\ \textcolor{comment}{\ *\ -\/inverse\ or\ inverse\_linear}}
\DoxyCodeLine{00204\ \textcolor{comment}{\ *\ -\/linear\ or\ affine}}
\DoxyCodeLine{00205\ \textcolor{comment}{\ *\ -\/piecewise\ or\ piecewise\_linear}}
\DoxyCodeLine{00206\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00207\ \textcolor{comment}{\ *\ The\ inverse\_linear\ is\ the\ same\ as\ implemented\ by\ EHT.\ The\ -\/mel\_warp}}
\DoxyCodeLine{00208\ \textcolor{comment}{\ *\ switch\ was\ kept\ for\ compatibility\ (maybe\ remove\ it\ in\ the}}
\DoxyCodeLine{00209\ \textcolor{comment}{\ *\ future?).\ The\ code\ is\ compatible\ with\ EHT's\ changes:\ cepstra\ created}}
\DoxyCodeLine{00210\ \textcolor{comment}{\ *\ from\ code\ after\ his\ changes\ should\ be\ the\ same\ as\ now.\ Scripts\ that}}
\DoxyCodeLine{00211\ \textcolor{comment}{\ *\ worked\ with\ his\ changes\ should\ work\ now\ without\ changes.\ Tested\ a\ few}}
\DoxyCodeLine{00212\ \textcolor{comment}{\ *\ cases,\ same\ results.}}
\DoxyCodeLine{00213\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00214\ \textcolor{comment}{\ */}}

\end{DoxyCode}
