Files
DeepTutor/tests
Amar Tinawi 32372c7916 feat(video_lesson): narrate with the Settings TTS provider
Video Lesson narration only ever used edge-tts, whatever TTS provider the
user configured. When the Settings provider is not Edge, speak each
sentence through synthesize_speech (so every catalog provider works:
OpenAI, a local OpenAI-compatible Kokoro/Piper server, MiniMax, ...),
decode it to PCM with ffmpeg for exact per-sentence caption offsets, join
the sentences with a short pause and encode the mp3 the player expects.
Any failure falls back to Edge for that line, then to silent captions.
Needs ffmpeg on PATH; without it the Settings path is skipped.
2026-10-30 15:29:17 +04:00
..
2026-09-29 17:12:58 +02:00
2026-09-21 02:30:40 +08:00
2026-10-04 21:35:00 +08:00
2026-09-21 02:30:40 +08:00