From 7e77c3452d805e79c8c9db43a39f91d013ce812c Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Tue, 27 Jan 2026 17:31:15 -0500 Subject: [PATCH] Add voices-qwen Makefile target to download cloned voice samples Runs scripts/download_diverse_voices.py which pulls speaker samples from LibriSpeech and assigns permanent human names via voice registry. Works with venv or system python. Also adds Voices section to help. --- Makefile | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index f426517..a85ef35 100644 --- a/Makefile +++ b/Makefile @@ -27,15 +27,18 @@ help: @echo " make hydrate - Test all configured voices" @echo " make load-test - Concurrent load test" @echo "" - @echo "Other Engines (disabled by default):" - @echo " make test-xtts - Test XTTS HD endpoint" - @echo " make test-kokoro - Test Kokoro fast TTS" - @echo " make test-silero - Test Silero TTS endpoint" + @echo "Voices:" + @echo " make voices-qwen - Download Qwen3-TTS cloned voice samples" @echo " make voices-piper - Download Piper voices" @echo " make voices-xtts - Download XTTS voices" @echo " make voices-kokoro - Download Kokoro models" @echo " make voices-silero - Download Silero models" @echo "" + @echo "Other Engines (disabled by default):" + @echo " make test-xtts - Test XTTS HD endpoint" + @echo " make test-kokoro - Test Kokoro fast TTS" + @echo " make test-silero - Test Silero TTS endpoint" + @echo "" @echo "Git:" @echo " make push-all - Push to all git remotes" @@ -159,9 +162,14 @@ voices: voices-qwen @echo "Qwen3-TTS ready (model downloads automatically on first use)" voices-qwen: - @echo "Qwen3-TTS models download automatically on first use" - @echo " Model: Qwen/Qwen3-TTS-12Hz-1.7B-Base (~3.4GB)" - @echo " To pre-download, run: make test-qwen" + @echo "Downloading Qwen3-TTS voice samples from LibriSpeech..." + @if [ -d ".venv" ]; then \ + .venv/bin/python scripts/download_diverse_voices.py; \ + else \ + python3 scripts/download_diverse_voices.py; \ + fi + @echo "Qwen3-TTS voice samples ready in cloned-voices/" + @echo " Model (~3.4GB) downloads automatically on first use" voices-all: voices-qwen voices-piper voices-xtts voices-silero @echo "All voices downloaded!"