midi2voice
v1.0.0
이 스크립트는 Nagoya Institute of Technology의 Sinsy.jp 웹 사이트에 HMM 기반 노래 음성 합성 시스템을 구현합니다.
여기에서 악기 오디오와 병합 된 샘플을 찾을 수 있습니다.
pip install git+git://github.com/mathigatti/midi2voice.git python -m midi2voice 사용하여 설치된 모듈을 실행할 수 있습니다. 서버 매개 변수가 있으며 대부분 선택 사항이며 기본값과 다른 것을 지정하려는 경우에만 사용해야합니다.
python -m midi2voice
-h, --help # show this help message and exit
-l LYRICS, --lyrics LYRICS # Path to txt file containing the lyrics
-m MIDI, --midi MIDI # Path to midi file
-lang {english,japanese,mandarin} # Language of the voice (OPTIONAL / DEFAULT: english)
-g {female,male} # Gender voice (female/male) (OPTIONAL / DEFAULT: female)
-i VOICEINDEX # Each language has different voices, for example japanese has 4 different female voices at the moment, mandarin only one. (OPTIONAL / DEFAULT: 0)
-t TEMPO # Song tempo in BPMs (OPTIONAL / DEFAULT 80)
-s SYNALPHA # Gender parameter [between -0.8 and 0.8, default: 0.55]
-v VIBPOWER # Vibrato intensity [between 0 and 2, default: 1]
-p F0SHIFT # Pitch shift [in half tones, between -24 and 24, default: 0]
-d DESTINATION_FOLDER # Destination folder
여기에서 MIDI 및 텍스트 샘플을 확인하십시오.
# Print help
python3 -m midi2voice -h
# Basic example
python -m midi2voice -l shallow.txt -m shallow.mid
# Generate the voice given a midi file and a text file with the lyrics
python -m midi2voice -l shallow.txt -m shallow.mid -lang english -g female -t 96파이썬이 설치되지 않았거나 빨리 확인하려면 여기에서 온라인으로 시도해 볼 수 있습니다.
현재 sinsy.jp는이 목소리를 제공합니다. VoiceIndex 매개 변수를 사용하여 선택할 수 있습니다.
일본어
여성
남성
영어
여성
남성
만다린 오렌지
여성
남성
이 소스 코드는 Mathias Gatti (@Mathigatti)에 의해 개발되면 사용하면 나를 인용하십시오. 과학 간행물의 경우이 doi를 사용할 수 있습니다.
Gatti, M. (2020). mathigatti/midi2voice v1.0.0 (v1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/ZENODO.3969003
오픈 소스 프로젝트를 계속 개발하고 유지 관리하는 데 도움을주고 싶다면 Ko-Fi를 구매하는 데 기여할 수 있습니다.
MIT