tts_chunked

Generate speech in chunks (for long texts)

Description

Generate speech in chunks (for long texts)

Usage

1tts_chunked(model, text, voice, chunk_size = 200, ...)

Arguments

  • model: Chatterbox model
  • text: Text to synthesize
  • voice: Voice embedding
  • chunk_size: Maximum tokens per chunk
  • ...: Additional arguments passed to tts()

Value

List with audio and sample_rate