MCPcopy Create free account
hub / github.com/aarnphm/whispercpp / WavFileWrapper

Method WavFileWrapper

src/whispercpp/api_cpp2py_export.h:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 std::vector<std::vector<float>> stereo;
69
70 WavFileWrapper(std::vector<float> *mono,
71 std::vector<std::vector<float>> *stereo)
72 : mono(whisper::as_pyarray(std::move(*mono))), stereo(*stereo){};
73
74 static WavFileWrapper load_wav_file(const char *filename);
75};

Callers

nothing calls this directly

Calls 1

as_pyarrayFunction · 0.85

Tested by

no test coverage detected