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.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package voice runs speech-to-text and text-to-speech for a voice target "instance-id/model-id" on the llmgw-core provider of the target's instance: transcription is an Invoke on the audio_transcriptions surface with the OpenAI multipart transcription body, synthesis one on audio_speech with the OpenAI speech JSON.
|
Package voice runs speech-to-text and text-to-speech for a voice target "instance-id/model-id" on the llmgw-core provider of the target's instance: transcription is an Invoke on the audio_transcriptions surface with the OpenAI multipart transcription body, synthesis one on audio_speech with the OpenAI speech JSON. |
Click to show internal directories.
Click to hide internal directories.