From: Takenori Y. <tak...@us...> - 2017-06-02 02:52:48
|
Update of /cvsroot/sp-tk/SPTK4/src In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30476 Modified Files: cepstrum_to_negative_derivative_of_phase_spectrum.cc freqt.cc Log Message: update usage Index: freqt.cc =================================================================== RCS file: /cvsroot/sp-tk/SPTK4/src/freqt.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** freqt.cc 2 May 2017 07:25:40 -0000 1.9 --- freqt.cc 2 Jun 2017 02:52:46 -0000 1.10 *************** *** 45,48 **** --- 45,49 ---- #include <getopt.h> #include <fstream> + #include <iomanip> #include <iostream> #include <sstream> *************** *** 67,79 **** *stream << " freqt [ options ] [ infile ] > stdout" << std::endl; *stream << " options:" << std::endl; ! *stream << " -m m : order of minimum phase sequence [" << kDefaultNumInputOrder << "]" << std::endl; // NOLINT ! *stream << " -M M : order of warped sequence [" << kDefaultNumOutputOrder << "]" << std::endl; // NOLINT ! *stream << " -a a : all-pass constant of input sequence [" << kDefaultInputAlpha << "]" << std::endl; // NOLINT ! *stream << " -A A : all-pass constant of output sequence [" << kDefaultOutputAlpha << "]" << std::endl; // NOLINT *stream << " -h : print this message" << std::endl; *stream << " infile:" << std::endl; ! *stream << " minimum phase sequence (double) [stdin]" << std::endl; // NOLINT *stream << " stdout:" << std::endl; ! *stream << " warped sequence (double)" << std::endl; *stream << std::endl; *stream << " SPTK: version " << sptk::kVersion << std::endl; --- 68,80 ---- *stream << " freqt [ options ] [ infile ] > stdout" << std::endl; *stream << " options:" << std::endl; ! *stream << " -m m : order of minimum phase sequence ( int)[" << std::setw(5) << std::right << kDefaultNumInputOrder << "][ 0 <= m <= ]" << std::endl; // NOLINT ! *stream << " -M M : order of warped sequence ( int)[" << std::setw(5) << std::right << kDefaultNumOutputOrder << "][ 0 <= M <= ]" << std::endl; // NOLINT ! *stream << " -a a : all-pass constant of input sequence (double)[" << std::setw(5) << std::right << kDefaultInputAlpha << "][ <= a <= ]" << std::endl; // NOLINT ! *stream << " -A A : all-pass constant of output sequence (double)[" << std::setw(5) << std::right << kDefaultOutputAlpha << "][ <= A <= ]" << std::endl; // NOLINT *stream << " -h : print this message" << std::endl; *stream << " infile:" << std::endl; ! *stream << " minimum phase sequence (double)[stdin]" << std::endl; // NOLINT *stream << " stdout:" << std::endl; ! *stream << " warped sequence (double)" << std::endl; // NOLINT *stream << std::endl; *stream << " SPTK: version " << sptk::kVersion << std::endl; Index: cepstrum_to_negative_derivative_of_phase_spectrum.cc =================================================================== RCS file: /cvsroot/sp-tk/SPTK4/src/cepstrum_to_negative_derivative_of_phase_spectrum.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** cepstrum_to_negative_derivative_of_phase_spectrum.cc 25 May 2017 02:43:32 -0000 1.2 --- cepstrum_to_negative_derivative_of_phase_spectrum.cc 2 Jun 2017 02:52:46 -0000 1.3 *************** *** 100,104 **** buffer->fast_fourier_transform_input_.begin() + half_fft_size); ! if (fft_size == 2 * num_order_) { // double the center value of the input because the cepstrum values on // both sides are overlapped at the center --- 100,104 ---- buffer->fast_fourier_transform_input_.begin() + half_fft_size); ! if (half_fft_size == num_order_) { // double the center value of the input because the cepstrum values on // both sides are overlapped at the center |