A personal playground for testing and experimenting with Voice Language Models (VLLM) and Text-to-Speech (TTS) synthesis using the Maya1 model and SNAC audio codec.
This project uses:
<angry>, <chuckle>, etc.python -m venv venv
Activate the virtual environment:
venv\Scripts\activatesource venv/bin/activatepip install -r requirements.txt
Note: On first run, the script will download the Maya1 model (~7GB) and SNAC decoder. This is a one-time download and may take several minutes depending on your internet connection.
python main.py
Generated audio will be saved to outputs/output.wav.
Edit the voice description and text in main.py:
description = "Hissing, cold male voice, no clear age, sinister and menacing tone. High pitch, slow, deliberate pacing."
text = "There is no good and evil. <angry> There is only power, and those too weak to seek it. <chuckle> Foolish boy."
Run the script to generate speech with your custom parameters.
This project is licensed under the MIT License - see the LICENSE file for details.
2 commits
Python
100.0%
A personal playground for testing and experimenting with Voice Language Models (VLLM) and Text-to-Speech (TTS) synthesis using the Maya1 model and SNAC audio codec.
This project uses:
<angry>, <chuckle>, etc.python -m venv venv
Activate the virtual environment:
venv\Scripts\activatesource venv/bin/activatepip install -r requirements.txt
Note: On first run, the script will download the Maya1 model (~7GB) and SNAC decoder. This is a one-time download and may take several minutes depending on your internet connection.
python main.py
Generated audio will be saved to outputs/output.wav.
Edit the voice description and text in main.py:
description = "Hissing, cold male voice, no clear age, sinister and menacing tone. High pitch, slow, deliberate pacing."
text = "There is no good and evil. <angry> There is only power, and those too weak to seek it. <chuckle> Foolish boy."
Run the script to generate speech with your custom parameters.
This project is licensed under the MIT License - see the LICENSE file for details.
2 commits
Python
100.0%