Skip to main content

Meloplus: Advanced python library for Melotts

Project description

MeloPlus: Advanced Python Library for MeloTts

teaser

🛠️ Installation

pip install melotts-plus
python -m unidic download

🎙️ Usage

from meloplus import MeloInference

# Speed is adjustable
speed = 1.0

# English
text = "Did you ever hear a folk tale about a giant turtle?"
model = MeloInference(language="EN", device="auto")
speaker_ids = model.hps.data.spk2id

# American accent
output_path = "en-us.wav"
model.tts_to_file(text, speaker_ids["EN-US"], output_path, speed=speed)

😍 Contributing

pip install pre-commit
pre-commit install
pre-commit run --all-files

📜 License

This project is licensed under the terms of the MIT License.

🤗 Citation

@software{zhao2024melo,
  author={Zhao, Wenliang and Yu, Xumin and Qin, Zengyi},
  title = {MeloTTS: High-quality Multi-lingual Multi-accent Text-to-Speech},
  url = {https://github.com/myshell-ai/MeloTTS},
  year = {2023}
}

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

melotts_plus-0.1.2.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

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

melotts_plus-0.1.2-py3-none-any.whl (5.9 MB view details)

Uploaded Python 3

File details

Details for the file melotts_plus-0.1.2.tar.gz.

File metadata

  • Download URL: melotts_plus-0.1.2.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for melotts_plus-0.1.2.tar.gz
Algorithm Hash digest
SHA256 259037e35f3fb6c4be29b992778453c860159fd693214ccfedd949f43a2c3b1c
MD5 e549ef3cecdeefa2275e98d5c8768040
BLAKE2b-256 1364f96082893f508f4dfbd2c13bc4bd20ccfdb6822fb99583dc388d639228ba

See more details on using hashes here.

File details

Details for the file melotts_plus-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: melotts_plus-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for melotts_plus-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 184d4f8ca476c20274c2d9bd73e544c12166314c8e6363c618715b17c2aa675a
MD5 a849c266a3c8165bf62b271c68a7c634
BLAKE2b-256 f6c239b27ffdb834f73b90cfbaaa07b157a5a6e40950da223485d9bd0d307c65

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