klyn.genai.tts.SpeechStream.SpeechStream
constructor
public SpeechStream(notnull task as SpeechGenerationTask, notnull queue as PcmQueue, sampleRate as Int)
Description

Binds an owned queue and registered Klyn generation task. Application code obtains streams with SpeechSynthesizer.stream().

Example

stream = synthesizer.stream("Hello", voice="ryan")