-
Notifications
You must be signed in to change notification settings - Fork 0
audiobook generator.stub
Nicolas Cravino edited this page Apr 15, 2026
·
3 revisions
id: audiobook-generator name: Audiobook Generator repo_path: ~/Documents/sw30labs/repos/audiobook_generator remote_url: https://github.com/sw30labs/audiobook_generator.git primary_language: Python framework: LangGraph + Qwen3-TTS ingested: 2026-04-11 last_commit_date: 2026-04-11
Convert books to audiobooks using Qwen3-TTS and LangGraph. Multi-format support (RTF, TXT, MD, HTML, DOCX), smart chapter detection, semantic chunking, TTS tag preprocessing, quality verification via faster-whisper STT, checkpoint-based resumption, parallel generation.
- RTF
- TXT
- Markdown
- HTML
- DOCX
LangGraph StateGraph with workflow nodes:
- Convert: Format-specific parsing (RTF → striprtf, DOCX → python-docx, HTML → BeautifulSoup)
- Conversion QA: Verify parsed content via Ollama QA agent
- Split: Detect chapters via regex and semantic markers
- Chunk: Semantic chunking for paragraph grouping
- TTS Preprocess: Clean markup, normalize whitespace, format tags
- TTS Generate: Qwen3-TTS with parallel synthesis
- Audio QA: Verify audio quality via faster-whisper STT roundtrip
- Merge: Combine audio chunks, normalize levels, add metadata
- Smart chapter detection
- Semantic text chunking
- TTS tag preprocessing
- Quality verification (whisper-based STT)
- Checkpoint-based resumption
- Parallel generation
langchain, langgraph, langchain-ollama, striprtf, markdownify, python-docx, beautifulsoup4, soundfile, librosa, numpy, scipy, faster-whisper, typer, rich, tqdm, pydantic, qwen-tts, torch
python, langgraph, mlx, apple-silicon, local-inference, tts, stt, audio
- tars-ai — shared TTS domain
- mlx-youtubescribe — shared audio processing