|
kaldi-native-fbank C++ API
Kaldi-compatible feature extraction C++ API
|
Options for computing Whisper mel features. More...
#include <whisper-feature.h>

Public Member Functions | |
| WhisperFeatureOptions (const FrameExtractionOptions &frame_opts={}, int32_t dim=80) | |
| Construct with the given frame options and number of mel bins. | |
| std::string | ToString () const |
| Return the options as a string. | |
Public Attributes | |
| FrameExtractionOptions | frame_opts |
| Frame-extraction options. | |
| int32_t | dim = 80 |
| Number of mel bins: 80 for most Whisper models, 128 for large v3. | |
Options for computing Whisper mel features.
|
inlineexplicit |
Construct with the given frame options and number of mel bins.
| std::string knf::WhisperFeatureOptions::ToString | ( | ) | const |
Return the options as a string.
| int32_t knf::WhisperFeatureOptions::dim = 80 |
Number of mel bins: 80 for most Whisper models, 128 for large v3.
| FrameExtractionOptions knf::WhisperFeatureOptions::frame_opts |
Frame-extraction options.
Note: most fields are ignored and reset inside WhisperFeatureComputer (16 kHz, 25 ms window, 10 ms shift, "hann" window, snip_edges=false, etc.).