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.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.

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

If you're not sure about the file name format, learn more about wheel file names.

vosk_tts-0.3.53-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file vosk_tts-0.3.53-py3-none-any.whl.

File metadata

  • Download URL: vosk_tts-0.3.53-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for vosk_tts-0.3.53-py3-none-any.whl
Algorithm Hash digest
SHA256 dcb08cca1cfe90650949cefc35e19b0936e19276ef9fe05430e99abc289b7cf8
MD5 08a8c7031ffe5c5bbccbf2db21afa703
BLAKE2b-256 be381af7db5dda5efa237e4f991c83a9ed4dae1f1f54f35c3bbfe2542063a131

See more details on using hashes here.

Supported by

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