Meloplus: Advanced python library for Melotts
Project description
🛠️ 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
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 Distribution
melotts_plus-0.1.2.tar.gz
(5.7 MB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
259037e35f3fb6c4be29b992778453c860159fd693214ccfedd949f43a2c3b1c
|
|
| MD5 |
e549ef3cecdeefa2275e98d5c8768040
|
|
| BLAKE2b-256 |
1364f96082893f508f4dfbd2c13bc4bd20ccfdb6822fb99583dc388d639228ba
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
184d4f8ca476c20274c2d9bd73e544c12166314c8e6363c618715b17c2aa675a
|
|
| MD5 |
a849c266a3c8165bf62b271c68a7c634
|
|
| BLAKE2b-256 |
f6c239b27ffdb834f73b90cfbaaa07b157a5a6e40950da223485d9bd0d307c65
|