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

Function append_wave

src/models/seed_vc/session.cpp:505–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503
504 std::fill(chunk_mel.begin(), chunk_mel.end(), 0.0F);
505 for (int64_t channel = 0; channel < channels; ++channel) {
506 const auto source = mel.begin() + static_cast<std::ptrdiff_t>(channel * frames + source_start);
507 std::copy_n(
508 source,
509 copy_frames,
510 chunk_mel.begin() + static_cast<std::ptrdiff_t>(channel * graph_frames + target_start));

Callers 2

run_v2_voice_conversionFunction · 0.85

Calls 2

endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected