"Computer" that frames raw audio samples without any processing.
More...
#include <feature-raw-audio-samples.h>
"Computer" that frames raw audio samples without any processing.
It has the same interface as FbankComputer/MfccComputer so it can be used with OnlineGenericBaseFeature (see online-feature.h).
- Used by:
- OnlineRawAudioSamples = OnlineGenericBaseFeature<RawAudioSamplesComputer> (see online-feature.h).
- See also
- RawAudioSamplesOptions, OnlineRawAudioSamples
◆ Options
Option type accepted by this computer.
◆ RawAudioSamplesComputer()
Construct from the given options.
◆ Compute()
| void knf::RawAudioSamplesComputer::Compute |
( |
float | unused_signal_raw_log_energy, |
|
|
float | unused_vtln_warp, |
|
|
std::vector< float > * | signal_frame, |
|
|
float * | feature ) |
Copy one frame of raw samples to feature; the two energy/vtln arguments are unused.
◆ Dim()
| int32_t knf::RawAudioSamplesComputer::Dim |
( |
| ) |
const |
|
inline |
Return the frame size in samples.
◆ GetFrameOptions()
Return the frame-extraction options.
◆ GetOptions()
Return the options this computer was constructed with.
◆ NeedRawLogEnergy()
| bool knf::RawAudioSamplesComputer::NeedRawLogEnergy |
( |
| ) |
const |
|
inline |
Always false: raw log energy is not used by this feature type.
The documentation for this class was generated from the following file: