tts_to_file

Generate speech and save to file

Description

Generate speech and save to file

Usage

1tts_to_file(model, text, voice, output_path, ...)

Arguments

  • model: Chatterbox model
  • text: Text to synthesize
  • voice: Voice embedding or path to reference audio
  • output_path: Output file path (WAV format)
  • ...: Additional arguments passed to tts()

Value

Invisibly returns the output path