Meloplus: Advanced python library for Melotts
Project description
🛠️ Installation
pip install meloplus
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.0.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.0.tar.gz.
File metadata
- Download URL: melotts_plus-0.1.0.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 |
5237981093273768c6f7290625d2d063f21598229df5bb5a64326bd4fb2fc794
|
|
| MD5 |
5df1f289dc31504db496060dc315dee7
|
|
| BLAKE2b-256 |
1dd1c1815d042fb2d6f5cf4e5c704815127b18e405d7c84b99953f0ef8ab8fb9
|
File details
Details for the file melotts_plus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: melotts_plus-0.1.0-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 |
aa04f7ec674095692d4ebaf7d46d930586eaa3f96a2df44283272fc509e8ca7d
|
|
| MD5 |
13b86f6ed7b4f8b8556486244066147d
|
|
| BLAKE2b-256 |
f3921724431809a2c8042a3f5d78fef2a5d296f929dac9d440e5407dd5d0b9ba
|