Skip to main content

Module streaming

Module streaming 

Source
Expand description

Streaming synthesis pipeline

テキストをセンテンス単位に分割し、逐次合成してAudioSinkに送出する。

Structs§

BufferSink
In-memory buffer sink that collects all audio chunks into a single Vec.
StreamingResult
Streaming synthesis result summary
WavFileSink
WAV file sink that writes audio incrementally.

Traits§

AudioSink
Audio output sink trait for receiving synthesized audio chunks.

Functions§

crossfade
Crossfade between two audio chunks using linear interpolation (overlap-add).
split_sentences
Split text into sentence-sized chunks suitable for streaming synthesis.