#include <iostream>
#include "feat/feature-plp.h"
#include "base/kaldi-math.h"
#include "matrix/kaldi-matrix-inl.h"
#include "feat/wave-reader.h"
Go to the source code of this file.
Functions | |
static void | UnitTestSimple () |
static void | UnitTestHTKCompare1 () |
static void | UnitTestFeat () |
int | main () |
int main | ( | ) |
|
static |
Definition at line 157 of file feature-plp-test.cc.
References UnitTestHTKCompare1(), and kaldi::UnitTestSimple().
Referenced by main().
|
static |
Definition at line 71 of file feature-plp-test.cc.
References PlpOptions::cepstral_scale, OfflineFeatureTpl< F >::Compute(), kaldi::ComputeDeltas(), WaveData::Data(), FrameExtractionOptions::dither, PlpOptions::frame_opts, PlpOptions::htk_compat, rnnlm::i, rnnlm::j, KALDI_ASSERT, KALDI_ERR, MelBanksOptions::low_freq, PlpOptions::mel_opts, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), FrameExtractionOptions::preemph_coeff, WaveData::Read(), kaldi::ReadHtk(), FrameExtractionOptions::remove_dc_offset, FrameExtractionOptions::round_to_power_of_two, MatrixBase< Real >::Row(), PlpOptions::use_energy, FrameExtractionOptions::window_type, and kaldi::WriteHtk().
Referenced by UnitTestFeat().
|
static |
Definition at line 36 of file feature-plp-test.cc.
References OfflineFeatureTpl< F >::Compute(), VectorBase< Real >::Dim(), FrameExtractionOptions::dither, PlpOptions::frame_opts, rnnlm::i, MelBanksOptions::low_freq, PlpOptions::mel_opts, FrameExtractionOptions::preemph_coeff, FrameExtractionOptions::remove_dc_offset, FrameExtractionOptions::round_to_power_of_two, and FrameExtractionOptions::window_type.