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

Result of Stft::Compute(). More...

#include <stft.h>

Public Attributes

std::vector< float > real
 Real parts of the spectra, [num_frames, n_fft/2+1], flattened in row major.
std::vector< float > imag
 Imaginary parts of the spectra, [num_frames, n_fft/2+1], flattened in row major.
int32_t num_frames = 0
 Number of frames in real/imag.

Detailed Description

Result of Stft::Compute().

See also
Stft, IStft

Member Data Documentation

◆ imag

std::vector<float> knf::StftResult::imag

Imaginary parts of the spectra, [num_frames, n_fft/2+1], flattened in row major.

◆ num_frames

int32_t knf::StftResult::num_frames = 0

Number of frames in real/imag.

◆ real

std::vector<float> knf::StftResult::real

Real parts of the spectra, [num_frames, n_fft/2+1], flattened in row major.


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