voxudio 0.7.1

A real-time audio processing library with ONNX runtime support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#include <string>
#include <vector>
#include "online-feature.h"

namespace knf {
    std::string create_string(const char *text);
    void free_result(float* ptr);
    float *fbank_extract(const FbankComputer::Options *opts, int sampling_rate, const float *waveform, int32_t len, int32_t *out_len);
    float *mfcc_extract(const MfccComputer::Options *opts, int sampling_rate, const float *waveform, int32_t len, int32_t *out_len);
    float *whisper_fbank_extract(const WhisperFeatureComputer::Options *opts, int sampling_rate, const float *waveform, int32_t len, int32_t *out_len);

}