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

Function create_output_parent

src/framework/audio/utility_api.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void create_output_parent(const std::filesystem::path & output_wav) {
62 const auto parent = output_wav.parent_path();
63 if (!parent.empty()) {
64 std::filesystem::create_directories(parent);
65 }
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);

Callers 2

denoise_fileFunction · 0.85
super_resolve_fileFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected