utaupy
UTAU周辺のデータ処理を行うPythonのパッケージです。READMEは書いてる途中です。 PythonでUTAUプラグインを作りたい場合は、C# 用の utauPlugin をPythonに移植した pyUtau のほうがいいかもしれません。ビブラートやピッチの扱いが便利そうです。
利用規約
LICENSE ファイルをご覧ください。
処理できるファイル
- .ust (UTAU)
- .txt (UTAU Plugin Script)
- .txt (録音リスト)
- .ini (setParam および UTAU音源原音設定)
- .lab (歌唱データベース用音素ラベル)
- .table (ローマ字かな対応表)
- .svp (Synthesizer V R2)
- .csv (REAPER リージョン・マーカー用)
機能概要
- INI, UST, LAB ファイルのデータをクラスオブジェクトとして扱います。
- INI, UST, LAB ファイルを変換できます。ただし不可逆の処理が多いです。
Methods
utaupy.ust
Ust
UST ファイルを取り扱うためのクラス
load(path)
USTファイルを読み取り、Ust オブジェクトにする。
ustobj = utaupy.ust.load(path)
print(type(ustobj))
# <class 'utaupy.ust.Ust'>
utaupy.otoini
UTAUの原音設定ファイルを扱うモジュール。setParamでの利用を想定。
class utaupy.otoini.OtoIni(collections.UserList)
oto.ini ファイルを扱うためのクラス。
class utaupy.otoini.Oto(collections.UserDict)
oto.ini に含まれる各原音のパラメータを扱うクラス。
utaupy.table
かなローマ字変換表などを扱うモジュール。
utaupy.convert
Ust オブジェクト、OtoIni オブジェクト、Label オブジェクトなどを変換するモジュール。
utaupy.reaper
REAPER (DAW) のリージョン・マーカー用CSVファイルを扱うモジュール。
utaupy.utau
UTAUエディタで行う操作の代替と、UTAU音源の原音値取得などをするモジュール。「パラメータ自動調整」などができる。
utaupy.utauplugin
UTAUプラグインをつくるためのモジュール。utaupy.utauplugin.UtauPlugin クラスは utaupy.ust.Ust を継承し、プラグイン用に最適化した子クラス。
使用例として半音上げプラグインを貼っておきます。
import utaupy
def notenum_plus1(utauplugin):
"""
utauplugin: utaupy.utauplugin.UtauPlugin class object
全てのノートを半音上げる
"""
# 全ノートを取得
notes = utauplugin.notes
# 半音上げ
for note in notes:
note.notenum += 1
if __name__ == '__main__':
# automatically
# read the utau plugin script
# load as utaupy.utauplugin.UtauPlugin class object
# overwrite the utau plugin script
utaupy.utauplugin.run(notenum_plus1)
連絡先
-
Twitter: @oatsu_c
-
GitHub: oatsu-gh
Metadata
Release files for utaupy 1.22.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| utaupy-1.22.1.tar.gz | 45.4 kB | Without provenance | Details for utaupy-1.22.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| utaupy-1.22.1-py3-none-any.whl | Python 3 | none | any | Details for utaupy-1.22.1-py3-none-any.whl |
Total release size: 99.1 kB
Release files / utaupy-1.22.1.tar.gz
| Download URL | utaupy-1.22.1.tar.gz |
|---|---|
| Size | 45.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95cb18b9c69127b066b6c7b24fcbb8b12c8298ffa34d84654ec400b2aa34f182
|
|
BLAKE2b-256 checksum How to use checksums |
16330200b84730a6e93c56160b50086a2dadad8c5504763d880b08519dd5c497
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / utaupy-1.22.1-py3-none-any.whl
| Download URL | utaupy-1.22.1-py3-none-any.whl |
|---|---|
| Size | 53.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
224786b6da7662119ea8456f91584ee1f22d8b944b302b2be3bbb3e247770ddd
|
|
BLAKE2b-256 checksum How to use checksums |
bef8e81d4a121746e4a24f73bcc8951ef1153fa0d56b586a2440736a0df3d064
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for utaupy 1.22.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.