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

Method encode_chromagram_features

src/models/vevo2/components.cpp:1130–1137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1128 auto prosody_tokens = encode_chromagram_features(
1129 compute_vevo2_chromagram(
1130 prosody_audio,
1131 prosody_frames,
1132 frame_len_ratio,
1133 generation.use_pitch_shift,
1134 generation.use_pitch_shift ? generation.prosody_shift_steps : 0),
1135 static_cast<int64_t>(static_cast<double>(prosody_frames) * frame_len_ratio));
1136 if (!style_ref_audio.has_value()) {
1137 return prosody_tokens;
1138 }
1139
1140 const int64_t style_frames = vevo2_frame_count_24k(*style_ref_audio);

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected