From: Takenori Y. <tak...@us...> - 2017-01-13 06:55:19
|
Update of /cvsroot/sp-tk/SPTK4/src In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5539 Modified Files: mgc2mgc.cc Log Message: fix comments Index: mgc2mgc.cc =================================================================== RCS file: /cvsroot/sp-tk/SPTK4/src/mgc2mgc.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mgc2mgc.cc 26 Dec 2016 07:41:20 -0000 1.2 --- mgc2mgc.cc 13 Jan 2017 06:55:17 -0000 1.3 *************** *** 92,95 **** --- 92,96 ---- *stream << " notice:" << std::endl; *stream << " value of c must be c >= 1" << std::endl; + *stream << " value of C must be C >= 1" << std::endl; *stream << " if -u is used without -n, input is regarded as 1+g/mgc[0],g*mgc[1],...,g*mgc[m]" << std::endl; // NOLINT *stream << " if -U is used without -N, output is regarded as 1+g/mgc[0],g*mgc[1],...,g*mgc[m]" << std::endl; // NOLINT *************** *** 262,266 **** while (sptk::ReadStream(false, input_length, &generalized_cepstrum, &input_stream)) { ! // input modification: 1*g/c[0] -> c[0] if (!input_normalization_flag && input_multiplication_flag) (*generalized_cepstrum.begin()) = --- 263,267 ---- while (sptk::ReadStream(false, input_length, &generalized_cepstrum, &input_stream)) { ! // input modification: 1*g/mgc[0] -> mgc[0] if (!input_normalization_flag && input_multiplication_flag) (*generalized_cepstrum.begin()) = *************** *** 274,278 **** return 1; } ! // output modification: c[0] -> 1+g*c[0] if (!output_normalization_flag && output_multiplication_flag) (*transformed_generalized_cepstrum.begin()) = --- 275,279 ---- return 1; } ! // output modification: mgc[0] -> 1+g*mgc[0] if (!output_normalization_flag && output_multiplication_flag) (*transformed_generalized_cepstrum.begin()) = |