MelBanksOptions Struct Reference

#include <mel-computations.h>

Collaboration diagram for MelBanksOptions:

Public Member Functions

 MelBanksOptions (int num_bins=25)
void Register (OptionsItf *opts)

Public Attributes

int32 num_bins
BaseFloat low_freq
BaseFloat high_freq
BaseFloat vtln_low
BaseFloat vtln_high
bool debug_mel
bool htk_mode

Detailed Description

Definition at line 43 of file mel-computations.h.

Constructor & Destructor Documentation

◆ MelBanksOptions()

MelBanksOptions ( int  num_bins = 25)

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

Definition at line 60 of file mel-computations.h.

References OptionsItf::Register().

Referenced by FbankOptions::Register(), MfccOptions::Register(), and PlpOptions::Register().

60  {
61  opts->Register("num-mel-bins", &num_bins,
62  "Number of triangular mel-frequency bins");
63  opts->Register("low-freq", &low_freq,
64  "Low cutoff frequency for mel bins");
65  opts->Register("high-freq", &high_freq,
66  "High cutoff frequency for mel bins (if <= 0, offset from Nyquist)");
67  opts->Register("vtln-low", &vtln_low,
68  "Low inflection point in piecewise linear VTLN warping function");
69  opts->Register("vtln-high", &vtln_high,
70  "High inflection point in piecewise linear VTLN warping function"
71  " (if negative, offset from high-mel-freq");
72  opts->Register("debug-mel", &debug_mel,
73  "Print out debugging information for mel bin computation");
74  }

Member Data Documentation

◆ debug_mel

bool debug_mel

Definition at line 51 of file mel-computations.h.

Referenced by MelBanks::MelBanks().

◆ high_freq

BaseFloat high_freq

Definition at line 46 of file mel-computations.h.

Referenced by MelBanks::MelBanks(), MelBanks::MelScale(), and UnitTestHTKCompare6().

◆ htk_mode

◆ low_freq

◆ num_bins

◆ vtln_high

◆ vtln_low

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