ProcessPitchOptions Struct Reference

#include <pitch-functions.h>

Collaboration diagram for ProcessPitchOptions:

Public Member Functions

 ProcessPitchOptions ()
 
void Register (ParseOptions *opts)
 

Public Attributes

BaseFloat pitch_scale
 
BaseFloat pov_scale
 
BaseFloat pov_offset
 
BaseFloat delta_pitch_scale
 
BaseFloat delta_pitch_noise_stddev
 
int32 normalization_left_context
 
int32 normalization_right_context
 
int32 delta_window
 
int32 delay
 
bool add_pov_feature
 
bool add_normalized_log_pitch
 
bool add_delta_pitch
 
bool add_raw_log_pitch
 

Detailed Description

Definition at line 212 of file pitch-functions.h.

Constructor & Destructor Documentation

◆ ProcessPitchOptions()

ProcessPitchOptions ( )
inline

Definition at line 235 of file pitch-functions.h.

235  :
236  pitch_scale(2.0),
237  pov_scale(2.0),
238  pov_offset(0.0),
239  delta_pitch_scale(10.0),
243  delta_window(2),
244  delay(0),
245  add_pov_feature(true),
247  add_delta_pitch(true),
248  add_raw_log_pitch(false) { }

Member Function Documentation

◆ Register()

void Register ( ParseOptions opts)
inline

Definition at line 251 of file pitch-functions.h.

References ParseOptions::Register().

Referenced by main().

251  {
252  opts->Register("pitch-scale", &pitch_scale,
253  "Scaling factor for the final normalized log-pitch value");
254  opts->Register("pov-scale", &pov_scale,
255  "Scaling factor for final POV (probability of voicing) "
256  "feature");
257  opts->Register("pov-offset", &pov_offset,
258  "This can be used to add an offset to the POV feature. "
259  "Intended for use in online decoding as a substitute for "
260  " CMN.");
261  opts->Register("delta-pitch-scale", &delta_pitch_scale,
262  "Term to scale the final delta log-pitch feature");
263  opts->Register("delta-pitch-noise-stddev", &delta_pitch_noise_stddev,
264  "Standard deviation for noise we add to the delta log-pitch "
265  "(before scaling); should be about the same as delta-pitch "
266  "option to pitch creation. The purpose is to get rid of "
267  "peaks in the delta-pitch caused by discretization of pitch "
268  "values.");
269  opts->Register("normalization-left-context", &normalization_left_context,
270  "Left-context (in frames) for moving window normalization");
271  opts->Register("normalization-right-context", &normalization_right_context,
272  "Right-context (in frames) for moving window normalization");
273  opts->Register("delta-window", &delta_window,
274  "Number of frames on each side of central frame, to use for "
275  "delta window.");
276  opts->Register("delay", &delay,
277  "Number of frames by which the pitch information is "
278  "delayed.");
279  opts->Register("add-pov-feature", &add_pov_feature,
280  "If true, the warped NCCF is added to output features");
281  opts->Register("add-normalized-log-pitch", &add_normalized_log_pitch,
282  "If true, the log-pitch with POV-weighted mean subtraction "
283  "over 1.5 second window is added to output features");
284  opts->Register("add-delta-pitch", &add_delta_pitch,
285  "If true, time derivative of log-pitch is added to output "
286  "features");
287  opts->Register("add-raw-log-pitch", &add_raw_log_pitch,
288  "If true, log(pitch) is added to output features");
289  }

Member Data Documentation

◆ add_delta_pitch

bool add_delta_pitch

Definition at line 232 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetFrame().

◆ add_normalized_log_pitch

bool add_normalized_log_pitch

Definition at line 231 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetFrame().

◆ add_pov_feature

bool add_pov_feature

Definition at line 230 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetFrame().

◆ add_raw_log_pitch

bool add_raw_log_pitch

Definition at line 233 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetFrame().

◆ delay

◆ delta_pitch_noise_stddev

◆ delta_pitch_scale

BaseFloat delta_pitch_scale

Definition at line 220 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetDeltaPitchFeature().

◆ delta_window

int32 delta_window

Definition at line 227 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetDeltaPitchFeature().

◆ normalization_left_context

int32 normalization_left_context

Definition at line 222 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetNormalizationWindow().

◆ normalization_right_context

int32 normalization_right_context

◆ pitch_scale

BaseFloat pitch_scale

Definition at line 213 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetNormalizedLogPitchFeature().

◆ pov_offset

BaseFloat pov_offset

Definition at line 216 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetPovFeature().

◆ pov_scale

BaseFloat pov_scale

Definition at line 215 of file pitch-functions.h.

Referenced by OnlineProcessPitch::GetPovFeature().


The documentation for this struct was generated from the following file: