kaldi-native-fbank C++ API
Kaldi-compatible feature extraction C++ API
Loading...
Searching...
No Matches
istft.h
Go to the documentation of this file.
1
18
27
28#ifndef KALDI_NATIVE_FBANK_CSRC_ISTFT_H_
29#define KALDI_NATIVE_FBANK_CSRC_ISTFT_H_
30
31#include <memory>
32#include <vector>
33
35
36namespace knf {
37struct StftConfig;
38struct StftResult;
39
47class IStft {
48 public:
50 explicit IStft(const StftConfig &config);
51
54
61 std::vector<float> Compute(const StftResult &stft_result) const;
62
63 private:
64 class Impl;
65
66 std::unique_ptr<Impl> impl_;
67};
68
69} // namespace knf
70
71#endif // KALDI_NATIVE_FBANK_CSRC_ISTFT_H_
std::vector< float > Compute(const StftResult &stft_result) const
Reconstruct the waveform.
IStft(const StftConfig &config)
Construct with the same config that was used for the forward Stft.
~IStft()
Destructor.
This file is part of kaldi-native-fbank.
Definition feature-cmvn.h:42
Copyright (c) 2025 Xiaomi Corporation (authors: Fangjun Kuang).
Configuration for Stft.
Definition stft.h:40
Result of Stft::Compute().
Definition stft.h:75