MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / read_mono_resampled

Function read_mono_resampled

src/framework/audio/utility_api.cpp:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68std::vector<float> read_mono_resampled(const std::filesystem::path & path, int sample_rate) {
69 return read_wav_f32_as_mono_linear_resampled(path, sample_rate);
70}
71
72[[noreturn]] void throw_unsupported_model(std::string_view task, std::string_view model, std::string_view valid_models) {
73 throw std::runtime_error(

Callers 4

denoise_fileFunction · 0.85
denoise_directoryFunction · 0.85
super_resolve_fileFunction · 0.85
super_resolve_directoryFunction · 0.85

Tested by

no test coverage detected