Skip to main content

Loading UTAU voice banks into the Python data structure.

Project description

strcuta - Loading UTAU voice banks into the Python data structure PyPI Github repository Release history License

Little example

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.

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

strcuta-0.0.17.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

strcuta-0.0.17-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file strcuta-0.0.17.tar.gz.

File metadata

  • Download URL: strcuta-0.0.17.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for strcuta-0.0.17.tar.gz
Algorithm Hash digest
SHA256 aa6ac42a4d284c99be35d191cf7f5734fc8f4b7e61e6c020a2c7937f662e3eb5
MD5 1cda8a34e0fc2797a00af69b88287b5a
BLAKE2b-256 f50bea3a96bfd01f0db9a210f2f8f650d202e26a0a3f7d5666c1f4f67aa10492

See more details on using hashes here.

File details

Details for the file strcuta-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: strcuta-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for strcuta-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 350d02605afe56be659f0cbad48f4750ca6ea8240443b1df8985c357dfc53e41
MD5 e2a321eb1544214cf2e78b5b64fbdb01
BLAKE2b-256 3435ea7f4a1858ac9b52f5232ef3de0c749c10a6044942895e6abfe8f0c1af79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page