VadEnergyOptions Struct Reference

#include <voice-activity-detection.h>

Collaboration diagram for VadEnergyOptions:

Public Member Functions

 VadEnergyOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

BaseFloat vad_energy_threshold
 
BaseFloat vad_energy_mean_scale
 
int32 vad_frames_context
 
BaseFloat vad_proportion_threshold
 

Detailed Description

Definition at line 42 of file voice-activity-detection.h.

Constructor & Destructor Documentation

◆ VadEnergyOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 52 of file voice-activity-detection.h.

References kaldi::ComputeVadEnergy(), and OptionsItf::Register().

Referenced by main().

52  {
53  opts->Register("vad-energy-threshold", &vad_energy_threshold,
54  "Constant term in energy threshold for MFCC0 for VAD (also see "
55  "--vad-energy-mean-scale)");
56  opts->Register("vad-energy-mean-scale", &vad_energy_mean_scale,
57  "If this is set to s, to get the actual threshold we "
58  "let m be the mean log-energy of the file, and use "
59  "s*m + vad-energy-threshold");
60  opts->Register("vad-frames-context", &vad_frames_context,
61  "Number of frames of context on each side of central frame, "
62  "in window for which energy is monitored");
63  opts->Register("vad-proportion-threshold", &vad_proportion_threshold,
64  "Parameter controlling the proportion of frames within "
65  "the window that need to have more energy than the "
66  "threshold");
67  }

Member Data Documentation

◆ vad_energy_mean_scale

BaseFloat vad_energy_mean_scale

Definition at line 44 of file voice-activity-detection.h.

Referenced by kaldi::ComputeVadEnergy().

◆ vad_energy_threshold

BaseFloat vad_energy_threshold

Definition at line 43 of file voice-activity-detection.h.

Referenced by kaldi::ComputeVadEnergy().

◆ vad_frames_context

int32 vad_frames_context

Definition at line 45 of file voice-activity-detection.h.

Referenced by kaldi::ComputeVadEnergy().

◆ vad_proportion_threshold

BaseFloat vad_proportion_threshold

Definition at line 46 of file voice-activity-detection.h.

Referenced by kaldi::ComputeVadEnergy().


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