Offline text to speech synthesis
Project description
Vosk TTS
Simple TTS based on VITS with some old ideas
Usage
Command line
pip3 install vosk-tts
vosk-tts -n vosk-model-tts-ru-0.7-multi -s 2 --input "Привет мир!" --output out.wav
API
from vosk_tts import Model, Synth
model = Model(model_name="vosk-model-tts-ru-0.7-multi")
synth = Synth(model)
synth.synth("Привет мир!", "out.wav", speaker_id=2)
Voices
For now we support several Russian voices 3 females and 2 males. Get the model here:
You can use speaker IDs from 0 to 4 included.
We plan to add more voices and languages in the future.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
vosk_tts-0.3.56-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file vosk_tts-0.3.56-py3-none-any.whl
.
File metadata
- Download URL: vosk_tts-0.3.56-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23978a248cb58d726a506ced0991cc31f1511fb17f1f4a5f5424a154e3743ee4 |
|
MD5 | 78460753ddfdaf5c402ce39a417240fc |
|
BLAKE2b-256 | 055900e7f2f3881c35bfeacdbe1cfb830cccf18aba077e15c601c100beaeeed9 |