From: Natsumi K. <koi...@us...> - 2017-07-31 06:09:50
|
Update of /cvsroot/sp-tk/SPTK/doc/ref_e In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20741 Modified Files: Makefile.in main.tex Added Files: acr2csm.tex Log Message: add manual of acr2csm command Index: Makefile.in =================================================================== RCS file: /cvsroot/sp-tk/SPTK/doc/ref_e/Makefile.in,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** Makefile.in 25 Jul 2017 10:47:26 -0000 1.36 --- Makefile.in 31 Jul 2017 06:09:47 -0000 1.37 *************** *** 55,58 **** --- 55,59 ---- acep.tex \ acorr.tex \ + acr2csm.tex \ agcep.tex \ amcep.tex \ --- NEW FILE: acr2csm.tex --- % ----------------------------------------------------------------- % % The Speech Signal Processing Toolkit (SPTK) % % developed by SPTK Working Group % % http://sp-tk.sourceforge.net/ % % ----------------------------------------------------------------- % % % % Copyright (c) 1984-2007 Tokyo Institute of Technology % % Interdisciplinary Graduate School of % % Science and Engineering % % % % 1996-2016 Nagoya Institute of Technology % % Department of Computer Science % % % % All rights reserved. % % % % Redistribution and use in source and binary forms, with or % % without modification, are permitted provided that the following % % conditions are met: % % % % - Redistributions of source code must retain the above copyright % % notice, this list of conditions and the following disclaimer. % % - Redistributions in binary form must reproduce the above % % copyright notice, this list of conditions and the following % % disclaimer in the documentation and/or other materials provided % % with the distribution. % % - Neither the name of the SPTK working group nor the names of its % % contributors may be used to endorse or promote products derived % % from this software without specific prior written permission. % % % % THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND % % CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, % % INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF % % MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE % % DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS % % BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, % % EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED % % TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, % % DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON % % ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, % % OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY % % OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE % % POSSIBILITY OF SUCH DAMAGE. % % ----------------------------------------------------------------- % \hypertarget{acr2csm}{} \name{acr2csm}{transform autocorrelation to CSM}{speech parameter transformation} \begin{synopsis} \item [acr2csm] [ --m $M$ ] [ {\em infile} ] \end{synopsis} \begin{qsection}{DESCRIPTION} {\em acr2csm} calculates composite sinusoidal modeling (CSM) parameters from $M$-th order autocorrelation coefficients from {\em infile} (or standard input), sending the result to standard output. The input is the following autocorrelation coefficients, \begin{displaymath} r(0) , r(1), \dots , r(M). \end{displaymath} The CSM parameters $\omega(i)$ and $m(i)$ are obtained from autocorrelation function $r(k)$ based on the following equation: \begin{displaymath} r(k)=\sum_{i=1}^{\frac{M+1}{2}}m(i)\cos(k\cdot\omega(i)), \qquad k=0,1,\dots,M, \end{displaymath} And the CSM output format is \begin{displaymath} \omega(1), \dots , \omega\biggl(\frac{M+1}{2}\biggr), m(1), \dots , m\biggl(\frac{M+1}{2}\biggr). \end{displaymath} Both input and output files are in float format. \end{qsection} \begin{options} \argm{m}{M}{order of CSM}{25} \end{options} \begin{qsection}{EXAMPLE} In the example below, the 15-th order autocorrelation coefficients in float format are read from {\em data.acorr}, and then the CSM coefficients are written to {\em data.csm}: \begin{quote} \verb! acr2csm -m 15 data.acorr > data.csm! \end{quote} \end{qsection} \begin{qsection}{NOTICE} If $M > 30$, cannot compute reliable CSM due to computational accuracy. \end{qsection} \begin{qsection}{SEE ALSO} \hyperlink{acorr}{acorr}, \hyperlink{csm2acr}{csm2acr} \end{qsection} Index: main.tex =================================================================== RCS file: /cvsroot/sp-tk/SPTK/doc/ref_e/main.tex,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** main.tex 25 Jul 2017 10:47:26 -0000 1.58 --- main.tex 31 Jul 2017 06:09:47 -0000 1.59 *************** *** 45,50 **** \usepackage[dvipdfmx]{graphicx} \usepackage{fleqn} ! \usepackage{makeidx} ! \usepackage[square,sort,comma,numbers]{natbib} \usepackage{cmndref} \usepackage[dvipdfmx, --- 45,50 ---- \usepackage[dvipdfmx]{graphicx} \usepackage{fleqn} ! \usepackage{makeidx} ! \usepackage[square,sort,comma,numbers]{natbib} \usepackage{cmndref} \usepackage[dvipdfmx, *************** *** 56,66 **** pdftitle={SPTK-3.10 Reference Manual}] {hyperref} ! \usepackage{times} ! \usepackage{amsmath} ! \usepackage{txfonts} ! \usepackage{bm} \setlength{\textwidth}{6.5in} ! \setlength{\textheight}{9in} \setlength{\oddsidemargin}{0mm} \setlength{\evensidemargin}{-8mm} --- 56,66 ---- pdftitle={SPTK-3.10 Reference Manual}] {hyperref} ! \usepackage{times} ! \usepackage{amsmath} ! \usepackage{txfonts} ! \usepackage{bm} \setlength{\textwidth}{6.5in} ! \setlength{\textheight}{9in} \setlength{\oddsidemargin}{0mm} \setlength{\evensidemargin}{-8mm} *************** *** 71,75 **** \renewcommand{\textfraction}{0} \renewcommand{\dbltopfraction}{1} ! \makeindex --- 71,75 ---- \renewcommand{\textfraction}{0} \renewcommand{\dbltopfraction}{1} ! \makeindex *************** *** 91,95 **** parameter generation,% others% ! } \begin{document} --- 91,95 ---- parameter generation,% others% ! } \begin{document} *************** *** 97,101 **** \input{bmdefines} ! \begin{titlepage} \vspace*{\fill} \begin{center} --- 97,101 ---- \input{bmdefines} ! \begin{titlepage} \vspace*{\fill} \begin{center} *************** *** 114,118 **** The help message for every command can be obtained with the option ``-h''. ! The help message brings explanation of the command, how to use, as well as its options. --- 114,118 ---- The help message for every command can be obtained with the option ``-h''. ! The help message brings explanation of the command, how to use, as well as its options. *************** *** 121,127 **** \begin{verbatim} > % mcep -h ! > > mcep - mel cepstral analysis ! > > usage: > mcep [ options ] [ infile ] > stdout --- 121,127 ---- \begin{verbatim} > % mcep -h ! > > mcep - mel cepstral analysis ! > > usage: > mcep [ options ] [ infile ] > stdout *************** *** 169,173 **** %BEGIN COMMANDS \include{acep} ! \include{acorr} \include{agcep} \include{amcep} --- 169,174 ---- %BEGIN COMMANDS \include{acep} ! \include{acorr} ! \include{acr2csm} \include{agcep} \include{amcep} *************** *** 191,195 **** \include{delta} \include{df2} ! \include{dfs} \include{dmp} \include{dtw} --- 192,196 ---- \include{delta} \include{df2} ! \include{dfs} \include{dmp} \include{dtw} *************** *** 204,208 **** \include{fftcep} \include{fftr} ! \include{fftr2} \include{fig} \include{frame} --- 205,209 ---- \include{fftcep} \include{fftr} ! \include{fftr2} \include{fig} \include{frame} |