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_semafor 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
Release history Release notifications | RSS feed
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.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for speech_semaphore-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d368495bfb5c504ceb1214675a1b205b4fdfd7bfce0bed8c5f39a2a85b665d98 |
|
MD5 | 6f68d77f53a861b87c3e4c77b28c77ca |
|
BLAKE2b-256 | a8da70fc5035775a3a0c4bba6b2936684fd7117ab775b56590245e44b33ebe5e |