зеркало из https://github.com/mozilla/kaldi.git
sandbox/pitch: script fix for pitch extraction
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/pitch@3192 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Родитель
86add112c6
Коммит
bab780cdeb
|
@ -579,7 +579,7 @@ void ExtractDeltaPitch(const PostProcessOptions &opts,
|
|||
KALDI_ASSERT(matrix_output.NumRows() == matrix_input.NumRows() &&
|
||||
matrix_output.NumCols() == 2);
|
||||
output->Resize(num_frames);
|
||||
output->CopyColFromMat(matrix_output, 2);
|
||||
output->CopyColFromMat(matrix_output, 1);
|
||||
|
||||
// Add a small amount of noise to the delta-pitch.. this is to stop peaks
|
||||
// appearing in the distribution of delta pitch, that correspond to the
|
||||
|
|
Загрузка…
Ссылка в новой задаче