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

Function without_tail

src/models/seed_vc/session.cpp:490–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 throw std::runtime_error("Seed-VC BigVGAN fixed chunk synthesis received invalid dimensions");
489 }
490 const int64_t graph_frames = active_frames + 2 * overlap_frames;
491 if (graph_frames < active_frames) {
492 throw std::runtime_error("Seed-VC BigVGAN fixed chunk graph size is invalid");
493 }
494
495 std::vector<float> waveform;
496 waveform.reserve(static_cast<size_t>(frames * hop_size));
497 std::vector<float> chunk_mel(static_cast<size_t>(channels * graph_frames), 0.0F);
498 for (int64_t position = 0; position < frames; position += active_frames) {

Callers 2

run_v2_voice_conversionFunction · 0.85

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected