Skip to main content

sinthesis speech with pauses

Project description

silence inputer

description

This extension of voicekit_client_python allows you to manage pauses in synthesis text.

#(integer) in synthesis string determines time section of pause between part of texts. One quantitative value of silence time section equals 100ms like comma in synthesis text with VoiceKit.

Syntesis audio has wav format.

examples

from speech_semaphore import ClientTTS

API_KEY = "api_key"
SECRET_KEY = "secret_key"

client = ClientTTS(API_KEY, SECRET_KEY)

text_with_pause = "Поторопись! #(3) у нас щас котлетки #(6) с макарошками? #(6) Нет #(4) с пюрэшкой"
without_pause = "Поторопись! у нас щас котлетки с макарошками? Нет с пюрэшкой"

client.synthesize_with_pause(text_with_pause, "with_pause.wav")
client.synthesize_with_pause(without_pause, "without_pause.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 Distribution

speech_semaphore-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

speech_semaphore-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file speech_semaphore-0.1.1.tar.gz.

File metadata

  • Download URL: speech_semaphore-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for speech_semaphore-0.1.1.tar.gz
Algorithm Hash digest
SHA256 490a6d47e96fae12421c85ffc49203440fcb9ae25da664b1a7b3297029eeee1a
MD5 275b25a40087b438e2ed3feb09ca350d
BLAKE2b-256 96bc4ec8a97e3f1a29f83d7d85bf3abb22bf8fd89d0fbd51bc2f94f63d8bd04a

See more details on using hashes here.

File details

Details for the file speech_semaphore-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: speech_semaphore-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for speech_semaphore-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5bce4326c970855de1d5a699ef502130d4cb56b884650806729592c5d074a579
MD5 10cf2359f0fc26370c1df9eac3a863b0
BLAKE2b-256 f0ade2c8b9c9a5e9245a2ac53f24d4c3c143c172814f895937fceb929336e792

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