将UTAU语音库加载到Python数据结构中。
strcuta的Python项目详细描述
strcuta-将UTAU语音库加载到Python数据结构
小例子
fromstrcutaimportvoicebank# Load the voice bank "Yamine Renri VCV ver.1.5" (Thanks to the owner :D).renri=voicebank.load("../闇音レンリ・連続音Ver1.5")# Resolve the spell (u-ta) and the pitch (F#5) into the voice as a wave data in# accordance with the "oto.ini"s and the "prefix.map".uta=renri.voice("u た","F#5")# Save the data with the WAVE format.uta.write("uta_fs5.wav")# Cut the specific segment of the voice and then save it.# "Overlap"uta.ovl().write("uta_ovl.wav")# "Preutterance"uta.pre().write("uta_pre.wav")# "Consonant". con() or fixed()uta.con().write("uta_vc-.wav")# "Vowel". vow() or stretchable()uta.vow().write("uta_-v.wav")# Except for the preutteranceuta.intime().write("uta_intime.wav")# Also play voices with the "sounddevice" package. (This is an optional# feature. Install the "strcuta[play]" instead of the "strcuta" to install the# "sounddevice" together.)uta.play()uta.con().play()
当前,strcuta
可以加载-
*.wav
*.frq
oto.ini
prefix.map
。在
您可以在release history中找到早期版本。在
- 项目
标签: