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

Function speech

tests/unittests/test_audio_chunking.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace {
15
16engine::runtime::SpeechSegment speech(int64_t start, int64_t end) {
17 engine::runtime::SpeechSegment segment;
18 segment.span.start_sample = start;
19 segment.span.end_sample = end;
20 segment.confidence = 1.0F;
21 return segment;
22}
23
24engine::runtime::WordTimestamp word(const std::string & text, int64_t start, int64_t end) {
25 engine::runtime::WordTimestamp timestamp;

Calls

no outgoing calls

Tested by

no test coverage detected