kaldi-native-fbank C++ API
Kaldi-compatible feature extraction C++ API
Loading...
Searching...
No Matches
knf::NemoFbankOptions Struct Reference

Options for OnlineNemoFbank. More...

#include <online-nemo-fbank.h>

Public Member Functions

std::string ToString () const
 Return the options as a string.

Public Attributes

float samp_freq = 16000
 Waveform sample frequency.
float frame_shift_ms = 10
 Frame shift in milliseconds.
float frame_length_ms = 25
 Frame length in milliseconds.
int32_t num_mel_bins = 80
 Number of mel bins.
float low_freq = 0
 Lower frequency cutoff for mel bins.
float high_freq = 0
 Upper frequency cutoff for mel bins; non-positive values are offsets from Nyquist.
float preemph_coeff = 0.97f
 Preemphasis coefficient.
int32_t buffered_capacity = 0
 Full-buffer length in frames. Zero disables the final sample-length cap.

Detailed Description

Options for OnlineNemoFbank.

Member Function Documentation

◆ ToString()

std::string knf::NemoFbankOptions::ToString ( ) const

Return the options as a string.

Member Data Documentation

◆ buffered_capacity

int32_t knf::NemoFbankOptions::buffered_capacity = 0

Full-buffer length in frames. Zero disables the final sample-length cap.

◆ frame_length_ms

float knf::NemoFbankOptions::frame_length_ms = 25

Frame length in milliseconds.

◆ frame_shift_ms

float knf::NemoFbankOptions::frame_shift_ms = 10

Frame shift in milliseconds.

◆ high_freq

float knf::NemoFbankOptions::high_freq = 0

Upper frequency cutoff for mel bins; non-positive values are offsets from Nyquist.

◆ low_freq

float knf::NemoFbankOptions::low_freq = 0

Lower frequency cutoff for mel bins.

◆ num_mel_bins

int32_t knf::NemoFbankOptions::num_mel_bins = 80

Number of mel bins.

◆ preemph_coeff

float knf::NemoFbankOptions::preemph_coeff = 0.97f

Preemphasis coefficient.

◆ samp_freq

float knf::NemoFbankOptions::samp_freq = 16000

Waveform sample frequency.


The documentation for this struct was generated from the following file:
  • /home/runner/work/kaldi-native-fbank/kaldi-native-fbank/kaldi-native-fbank/csrc/online-nemo-fbank.h