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

API

from vosk_tts import Model, Synth
model = Model(model_name="vosk-model-tts-ru-0.9-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.9-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.61-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vosk_tts-0.3.61-py3-none-any.whl
Algorithm Hash digest
SHA256 7dfb17d933b9de65e0a87a215c70793892157cc35acbee9b67cc4e78f3bc40b5
MD5 afa4ab4a3808e5dee50b982abd1835ff
BLAKE2b-256 b3631bbf380da363422c14f6b613dc1ab0d50eae867785fde23c23c805d8606b

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