Singing synthesis from MIDI file
Project description
Singing Synthesis from MIDI file
This script relies on the sinsy.jp website from the Nagoya Institute of Technology which implements a HMM-based Singing Voice Synthesis System.
You can find a sample merged with the instrumental audio here.
Requirements
- musescore: It's used to convert midi to musicxml
- python 3
Installation
pip install midi2voice
Usage
You can use it running the installed module using python -m
. It has five parameters, the lyrics_file, midi_file, singer sex (optional), tempo (optional) and destination folder (optional).
Usage example
Check the midi and text samples here.
# Print help
python3 -m midi2voice -h
# Generate the voice given a midi file and a text file with the lyrics
python -m midi2voice -l shallow.txt -m shallow.mid -g female -t 96
Try it on Colab
If you don't have python installed or you just want to check it quickly you can try it online here.
Credits
This source code was developed by Mathias Gatti (@mathigatti) if you use it please remember to cite me. For scientific publications you can use this DOI.
Gatti, M. (2020). mathigatti/midi2voice v1.0.0 (v1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/ZENODO.3969003
Support my work
Mathias's open-source projects are supported by his Patreon. If you found this project helpful, any monetary contributions to the Patreon are appreciated and will be put to good creative use.
License
MIT
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
Built Distribution
Hashes for midi2voice-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6112f0c34ca2e5544b829c43a53b81e37d0a982d05db70733482c26ab6880385 |
|
MD5 | cf03c2caa9c8e5cae4ad4907aadaf38e |
|
BLAKE2b-256 | fe0ca8237500b48e5225fdfd565263b605f9f51010ae6f73b1ed1f944a29c8a7 |