Skip to content

alphacep/vosk-tts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.6-multi -s 2 --input "Привет мир!" --output out.wav

API

from vosk_tts import Model, Synth
model = Model(model_name="vosk-model-tts-ru-0.6-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:

vosk-model-tts-ru-0.6-multi

You can use speaker IDs from 0 to 4 included.

We plan to add more voices and languages in the future.