https://github.com/takagiy/strcuta-py
strc“uta” - Loading UTAU voice banks into the Python data structure
https://github.com/takagiy/strcuta-py
json python singing-synthesis singing-voice speech-synthesis utau utauplugin voice-bank voice-synthesis
Last synced: 3 months ago
JSON representation
strc“uta” - Loading UTAU voice banks into the Python data structure
- Host: GitHub
- URL: https://github.com/takagiy/strcuta-py
- Owner: takagiy
- License: bsl-1.0
- Created: 2020-03-06T07:44:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T13:44:43.000Z (over 5 years ago)
- Last Synced: 2025-04-21T01:54:02.424Z (6 months ago)
- Topics: json, python, singing-synthesis, singing-voice, speech-synthesis, utau, utauplugin, voice-bank, voice-synthesis
- Language: Python
- Homepage:
- Size: 86.9 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
README
# strcuta - Loading UTAU voice banks into the Python data structure [](https://pypi.org/project/strcuta) [](https://github.com/takagiy/strcuta-py) [](https://pypi.org/project/strcuta/#history) [](https://github.com/takagiy/strcuta-py/blob/master/LICENSE_1_0.txt)
## Little example
```python
from strcuta import voicebank# 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 preutterance
uta.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()
```Currently, `strcuta` can load -
* `*.wav`
* `*.frq`
* `oto.ini`
* `prefix.map`.You can find the early releases in the [release history](https://pypi.org/project/strcuta/#history).