Skip to main content

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.2-natasha --input "Привет мир!" --output ~/out.wav

API

from vosk_tts import Model, Synth
model = Model(model_name="vosk-model-tts-ru-0.2-natasha")
synth = Synth(model)

synth.synth("Привет мир!", "test.wav")

Voices

For now we support several Russian voices

Voice Sample
vosk-model-tts-ru-0.2-natasha https://github.com/alphacep/vosk-tts/raw/master/samples/vosk-model-tts-ru-0.2-natasha.wav
vosk-model-tts-ru-0.1-irina https://github.com/alphacep/vosk-tts/raw/master/samples/vosk-model-tts-ru-0.1-irina.wav
vosk-model-tts-ru-0.1-tamara https://github.com/alphacep/vosk-tts/raw/master/samples/vosk-model-tts-ru-0.1-tamara.wav

Project details


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.48-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page