diff --git a/README.md b/README.md new file mode 100644 index 0000000..1ecd44a --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# set_lyric_R + +選択範囲をすっぴん休符にするUTAUプラグイン + +## 用途 + +ハモリに作るときにどうぞ + +## 開発環境 + +- Windows 10 +- Python 3.8.7 +- utaupy 1.11.3 \ No newline at end of file diff --git a/plugin.txt b/plugin.txt new file mode 100644 index 0000000..c1ae79b --- /dev/null +++ b/plugin.txt @@ -0,0 +1,3 @@ +name=I͈͂҂xɂ(&0) +execute=set_lyric_R.py +shell=use diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..56547ea --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +utaupy >= 1.11.3 diff --git a/set_lyric_R.py b/set_lyric_R.py new file mode 100644 index 0000000..9d44e26 --- /dev/null +++ b/set_lyric_R.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 +# Copyright (c) 2020 oatsu +""" +選択範囲を休符にするプラグイン +""" +from utaupy.utauplugin import run + + +def set_lyric_R(plugin): + """ + 選択範囲の歌詞を休符にしてすっぴん化する。 + """ + for note in plugin.notes: + note.lyric = 'R' + note.suppin() + + +if __name__ == '__main__': + run(set_lyric_R)