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 git+git://github.com/mathigatti/midi2voice.git
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
If you want to help me to keep going developing and maintaining open-source projects you can contribute buying me some ko-fi.
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
File details
Details for the file midi2voice-1.0.4.tar.gz
.
File metadata
- Download URL: midi2voice-1.0.4.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54914a7b6906e1f84043d5a6cc2e03024d10e15bdb2ca84f1faf8b999613b13 |
|
MD5 | 4eaa033aca572867946ef87cf6e89ae0 |
|
BLAKE2b-256 | f5221f770f6df291f6d6d10743e9dc5c057a8824b349e0837171eb6444513e99 |
File details
Details for the file midi2voice-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: midi2voice-1.0.4-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9509ac5f8813a7b6bafd14079d47de4e8c35664952ccd3a02d5d2cc83e375cca |
|
MD5 | 26ef76b9567b35f5e3137cf023d015f2 |
|
BLAKE2b-256 | c7214fde49f9b654ddac6b2a212655ea055fadfeadb48b4f382c765ace08fc79 |