Public Member Functions | |
PitchInterpolator (const PitchInterpolatorOptions &opts, Matrix< BaseFloat > *mat, PitchInterpolatorStats *stats) | |
Private Member Functions | |
void | InitValues (const Matrix< BaseFloat > &mat) |
void | MultiplyObsProb (int32 t) |
void | ComputeTransitionProb (int32 t) |
void | Forward () |
void | Backtrace (Matrix< BaseFloat > *mat, PitchInterpolatorStats *stats) |
Private Attributes | |
const PitchInterpolatorOptions & | opts_ |
std::vector< BaseFloat > | min_pitch_ |
int32 | num_frames_ |
int32 | num_pitches_ |
std::vector< int32 > | pitch_ |
std::vector< BaseFloat > | p_voicing_ |
std::vector< std::vector< int32 > > | back_pointers_ |
Vector< BaseFloat > | log_alpha_ |
Vector< BaseFloat > | prev_log_alpha_ |
Definition at line 77 of file interpolate-pitch.cc.
|
inline |
Definition at line 79 of file interpolate-pitch.cc.
References PitchInterpolatorOptions::Check().
|
inlineprivate |
Definition at line 212 of file interpolate-pitch.cc.
References KALDI_ASSERT, PitchInterpolatorStats::num_frames_changed, PitchInterpolatorStats::num_frames_tot, PitchInterpolatorStats::num_frames_zero, and PitchInterpolatorOptions::pitch_interval.
|
inlineprivate |
Definition at line 160 of file interpolate-pitch.cc.
References KALDI_ASSERT, and PitchInterpolatorOptions::pitch_interval.
|
inlineprivate |
Definition at line 192 of file interpolate-pitch.cc.
Definition at line 89 of file interpolate-pitch.cc.
References KALDI_ASSERT, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), PitchInterpolatorOptions::pitch_interval, and kaldi::RandUniform().
|
inlineprivate |
Definition at line 135 of file interpolate-pitch.cc.
References kaldi::Log(), and VectorBase< Real >::SetRandn().
|
private |
Definition at line 242 of file interpolate-pitch.cc.
Definition at line 245 of file interpolate-pitch.cc.
|
private |
Definition at line 233 of file interpolate-pitch.cc.
|
private |
Definition at line 236 of file interpolate-pitch.cc.
|
private |
Definition at line 237 of file interpolate-pitch.cc.
|
private |
Definition at line 232 of file interpolate-pitch.cc.
|
private |
Definition at line 240 of file interpolate-pitch.cc.
|
private |
Definition at line 238 of file interpolate-pitch.cc.
Definition at line 246 of file interpolate-pitch.cc.