Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeOggOpus ¶
DecodeOggOpus reads an Ogg format stream and extracts individual Opus payloads. It calls onFrame for every complete Opus frame found in the stream.
func SplitSentences ¶
SplitSentences splits text into sentence-sized chunks suitable for TTS synthesis. It splits on sentence-ending punctuation (.!?\n, as well as CJK 。, !, ?) while avoiding false splits on decimal numbers. Very short fragments are merged with the next sentence to prevent choppy playback.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.