|
kaldi-native-fbank C++ API
Kaldi-compatible feature extraction C++ API
|
Compute the short-time Fourier transform of a waveform. More...
#include <stft.h>
Public Member Functions | |
| Stft (const StftConfig &config) | |
| Construct with the given config. | |
| ~Stft () | |
| Destructor. | |
| StftResult | Compute (const float *data, int32_t n) const |
| Compute the STFT of a waveform. | |
Compute the short-time Fourier transform of a waveform.
|
explicit |
Construct with the given config.
| knf::Stft::~Stft | ( | ) |
Destructor.
| StftResult knf::Stft::Compute | ( | const float * | data, |
| int32_t | n ) const |
Compute the STFT of a waveform.
| data | Pointer to a 1-D array of size n. |
| n | Number of samples in data. |