kaldi-native-fbank C++ API
Kaldi-compatible feature extraction C++ API
Loading...
Searching...
No Matches
feature-functions.h File Reference

Copyright 2009-2011 Karel Vesely; Petr Motlicek; Microsoft Corporation 2014 IMSL, PKU-HKUST (author: Wei Shi) 2016 Johns Hopkins University (author: Daniel Povey) Copyright (c) 2022 Xiaomi Corporation (authors: Fangjun Kuang). More...

#include <vector>
Include dependency graph for feature-functions.h:

Go to the source code of this file.

Namespaces

namespace  knf
 This file is part of kaldi-native-fbank.

Functions

void knf::ComputePowerSpectrum (std::vector< float > *complex_fft)
 ComputePowerSpectrum converts a complex FFT (as produced by the FFT functions in csrc/rfft.h), and converts it into a power spectrum.

Detailed Description

Copyright 2009-2011 Karel Vesely; Petr Motlicek; Microsoft Corporation 2014 IMSL, PKU-HKUST (author: Wei Shi) 2016 Johns Hopkins University (author: Daniel Povey) Copyright (c) 2022 Xiaomi Corporation (authors: Fangjun Kuang).

This file is copied/modified from kaldi/src/feat/feature-functions.h

See LICENSE for clarification regarding multiple authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Misc feature-processing functions.

This file is copied/modified from kaldi/src/feat/feature-functions.h.