Skip to main content

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 :

  1. Parametre models_dir explicite
  2. $LECTURA_MODELS_DIR/tts_diphone/
  3. ~/.lectura/models/tts_diphone/
  4. Modeles embarques dans le package

Fichier requis : diphones.dpk.gz (ou .dpk.gz.enc chiffre) Fichier optionnel : diphone_statistics.pkl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

lectura_tts_diphone-1.0.0-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file lectura_tts_diphone-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lectura_tts_diphone-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a280093f22cb79e5961008a437c1c1ddc004e8aab9d5c5758ee08c0bfa9c11e7
MD5 61599121291f60f960934b8076669085
BLAKE2b-256 0551c421cc6d5cd725fa708bc67fe22d197f7f228690811432aeb0f95611fecc

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