Synthese vocale par concatenation de diphones WORLD — francais
Project description
lectura-tts-diphone
Synthese vocale francaise par concatenation de diphones dans le domaine WORLD.
Installation
# Sans dependances (import seul, API distante)
pip install lectura-tts-diphone
# Inference locale (pyworld + numpy + scipy)
pip install "lectura-tts-diphone[local]"
# Avec G2P integre
pip install "lectura-tts-diphone[all]"
Usage rapide
from lectura_tts_diphone import creer_engine, synthetiser
# Synthese directe texte → audio
audio = synthetiser("Bonjour le monde")
# Ou via engine pour controle fin
engine = creer_engine()
audio = engine.synthesize_groups([
{"phones": ["b", "o~", "Z", "u", "R"], "boundary": "none"},
])
Modes de synthese
- FLUIDE : lecture naturelle, enchainement continu
- MOT_A_MOT : lecture mot par mot avec pauses
- SYLLABES : lecture syllabe par syllabe
Architecture
Pipeline : texte → G2P → phones IPA → diphone chain → WORLD concat → pw.synthesize → audio 44.1 kHz
Les diphones sont des parametres WORLD (F0 + spectral envelope + aperiodicity) extraits du corpus SIWIS et moyennes par type de transition phonetique.
Emplacements des modeles
Recherche dans l'ordre :
- Parametre
models_direxplicite $LECTURA_MODELS_DIR/tts_diphone/~/.lectura/models/tts_diphone/- Modeles embarques dans le package
Fichier requis : diphones.dpk.gz (ou .dpk.gz.enc chiffre)
Fichier optionnel : diphone_statistics.pkl
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 Distributions
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 lectura_tts_diphone-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lectura_tts_diphone-1.0.0-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a280093f22cb79e5961008a437c1c1ddc004e8aab9d5c5758ee08c0bfa9c11e7
|
|
| MD5 |
61599121291f60f960934b8076669085
|
|
| BLAKE2b-256 |
0551c421cc6d5cd725fa708bc67fe22d197f7f228690811432aeb0f95611fecc
|