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

Function require_directory

src/models/seed_vc/assets.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19SeedVcLengthRegulatorConfig parse_length_regulator(
20 const json::Value & value,
21 const char * codebook_size_key) {
22 SeedVcLengthRegulatorConfig config;
23 config.channels = json::require_i64(value, "channels");
24 config.codebook_size = json::require_i64(value, codebook_size_key);
25 config.is_discrete = json::require_bool(value, "is_discrete");
26 config.f0_condition = json::require_bool(value, "f0_condition");
27 config.sampling_ratios = json::optional_i64_array(value, "sampling_ratios");
28 return config;

Callers 1

Calls 2

is_existing_directoryFunction · 0.85
stringFunction · 0.50

Tested by

no test coverage detected