kadirnar/MeloPlus

MeloPlus: Advanced Python Library for MeloTts

12

stars

62

commits

Python

primary language

Dec 1, 2025

updated

README

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}
}

Contributors

kadirnar

56 commits

kadirnar/MeloPlus

MeloPlus: Advanced Python Library for MeloTts

12

stars

62

commits

Python

primary language

Dec 1, 2025

updated

README

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}
}

Contributors

kadirnar

56 commits

Languages

Python

98.2%

Jupyter Notebook

1.5%