An API for DECTalk
Project description
DECAPI (should've chosen a better name)
A simple DECTalk API.
(you have to supply your own path to the say executable)
Default voice: Perfect Paul
Installation
pip install decapi
Usage
Speak(ing)
import decapi
decapi.dectalkpath="your/path/to/dectalk/say"
decapi.init()
decapi.say("Hey there")
You can design your own voice using the Voice class.
ap - Average pitch, in Hz
as - Assertiveness, in %
b4 - Fourth formant bandwidth, in Hz
b5 - Fifth formant bandwidth, in Hz
bf - Baseline fall, in Hz
br - Breathiness, in decibels (dB)
f4 - Fourth formant resonance frequency, in Hz
f5 - Fifth formant resonance frequency, in Hz
hr - Hat rise, in Hz
hs - Head size, in %
la - Laryngealization, in %
lx - Lax breathiness, in %
nf - Number of fixed samples of open glottis
pr - Pitch range, in %
qu - Quickness, in %
ri - Richness, in %
sm - Smoothness, in %
sr - Stress rise, in Hz
sx - Sex 1 (male) or 0 (female)
Before you contact me, I do not respond to your emails. Create an issue instead in the currently non-existent GitHub repository if you need help.
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
decapi-1.0.4.tar.gz
(5.1 kB
view hashes)
Built Distribution
decapi-1.0.4-py3-none-any.whl
(6.7 kB
view hashes)