Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
A 4.5M-parameter two-voice English text-to-speech model, trained from scratch
Saved setup from 10 h ago
Will it work on Linux?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/n4ze3m/tiny-voca.git cd tiny-voca
Python >=3.10
sudo apt install python3 python3.10 python3-venv # Debian/Ubuntu
python -m venv .venv source .venv/bin/activate pip install -e .
python -m tiny_voca.infer \
--checkpoint weights/tiny-voca.pt \
--voice F2 \
--text "Hello! This is tiny voca." \
--output hello.wav
| Option | Default | Meaning |
|---|---|---|
| --text-file | | Read the text from a file instead of --text |
| --voice | F2 | F2 or M2 |
| --speed | 1.0 | Speaking rate |
| --pitch-shift | 0 | Raise or lower the pitch |
| --pitch-range | 1.0 | More or less pitch movement |
Long text is fine. It is read one sentence at a time and the audio is joined.
A text that ends without a mark gets a full stop, so the last word does not
break off. A sentence with nothing to read, such as one in another script, is
skipped. The output never peaks above 0.99, so it does not clip as a 16-bit
WAV. In Python, tiny_voca.infer.speak_text does the same.
No reports for Linux yet.
GitManual AI Agent reads the 2 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.