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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file decapi-1.0.1.tar.gz.
File metadata
- Download URL: decapi-1.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
278bbfcd99583849e68dccb41012c668a29c3392afc5d11639fb2d0a3ddf29a6
|
|
| MD5 |
9c01f64eaa7c42f35f44c9ec76781ab8
|
|
| BLAKE2b-256 |
909aaba60c8a47d9d5edc4c22faa2b5a5cd7075f0909257efa693fcb0087c04c
|
File details
Details for the file decapi-1.0.1-py3-none-any.whl.
File metadata
- Download URL: decapi-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c65556c9fbb70db07cb103d99b7b0a76a8ceaa8a018255f3a6422df03a98b426
|
|
| MD5 |
a47bd05d41f57ef3a82b496a7d72048c
|
|
| BLAKE2b-256 |
61326213a3a0c2b2541494b74dad10510e3491cefaa3a7c5dd36fa014ae481cd
|