This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
r"""DRL031.py – Flexibles Text-to-Speech-Tool (XTTS v2 • Edge-TTS • gTTS) | |
* Wortgenaue Blöcke (≤ 200 Zeichen bei XTTS) – keine Wortabbrüche | |
* WAV-Splitting pro Kapitel (Kapitelüberschriften werden erkannt) | |
* GPU/CPU-Umschaltbar (`--device cuda|cpu`) • FFmpeg-Check • Autoinstall | |
* Interaktive Auswahl: Ab welchem Kapitel starten? | |
""" | |
from __future__ import annotations |