How to Synthesize Grandmother's Voice Using LLM and Qwen3-TTS
The experience of digitizing a grandmother's handwritten notebooks using Opus 5.5 and synthesizing her voice with Qwen3-TTS for a family Telegram bot.

A developer shared her experience of creating a family Telegram bot that digitized 20 thick notebooks written by her grandmother, who passed away in September 2026 at nearly 95 years old. The bot allows relatives worldwide to browse manuscript scans and listen to entries in the author's voice.
- Digitized 20 notebooks containing aphorisms and folk signs maintained by the grandmother during her retirement.
- Handwritten text recognition was performed using the Opus 5.5 model with up to 98.5% accuracy.
- Text-to-speech synthesis utilized the local Qwen3-TTS model.
- The audio archive comprised about 107 minutes of recordings from 2012–2022, cleaned of extraneous noise and interruptions.
Challenges of AI Handwriting Recognition
Scanning notebook spreads via the Notes app on an iPhone produced high-resolution images, but the Opus 5.5 model could not accept images wider than 1568 pixels. Shrinking the spreads made the grandmother's unique handwriting illegible. The solution was to cut the spreads in half: although this required twice as many tokens, word accuracy reached 98.5%, and 8 out of 10 entries had zero errors.
However, AI models suffer from 'linguistic a priori' tendencies, replacing unfamiliar words with what they consider more common. For instance, a note about eggs was misread as faces. To combat this, the author developed diplomatic transcription rules and specialized scripts to check spelling and enlarge ambiguous words.
Read alsoRunning local LLMs in a Proxmox LXC: performance close to bare metalPreparing the Audio Archive and Voice Synthesis
The original archive of the grandmother's voice totaled about 107 minutes spanning 2012 to 2022, including phone recordings and Skype calls. Because these were dialogues, background laughter and interruptions had to be removed. Transcription and speaker diarization were performed locally using whisperX large-v3-turbo and pyannote on a Mac M5 without a GPU.
Commercial services like ElevenLabs were ruled out due to requirements for live voice verification or pricing constraints. An attempt to run XTTS-v2 on a rented RTX 4090 GPU via RunPod failed due to sample rate mismatches. Ultimately, the choice fell on zero-shot cloning using the 1.7-billion-parameter Qwen3-TTS model running locally on a MacBook Air M5 with 32 GB of RAM.
Significance for Preserving Family Heritage
Creating such local archives using modern language models and synthesis systems opens up new avenues for preserving family legacies. This project demonstrates how technology can connect relatives scattered across the globe, carefully retaining the voices and thoughts of loved ones while maintaining ethical boundaries.
Source: Все публикации подряд на Хабре



