Script For Quick Split 一键拆分多个音符脚本

short preview video 【SVR2脚本插件】一键拆分音符 Add Depth(开发中)_哔哩哔哩_bilibili

正在学习中的Java初学者,好奇就想试着写点SV脚本,也是顺便做点练习
基于Dreamtonics配布的脚本上进行了一些修改
然后设想是:给每一句的第一个音节加上一定的深度。(用来偷懒)
现在在学习中,还会继续改进。
希望能做成一个完全自动化脚本,然后深度可以进行一定的随机化。然后现在是通过拆分音符,可能还会做另外一个版本,就是对于那个音符属性里的深度进行调整。
现阶段效果如图,可以给选中的音符一次进行调整,应该要比一个一个选中然后split轻松点吧。

Hi,I am a starter in learning programming. So I am also interested in SV javascript.
After spending some time studying the tutorial, I am thinking about making a script that automatically adds some depth to the first note of each singing line.
So it saves a little time, maybe. I think normally you would edit only one note for one time, either by the depth in the note properties or splitting the notes. I also think that I can make two versions of adding depth, I am making scripts by splitting notes for now.
I am still working on it. Maybe get some ideas in the community by putting things up in the forum now.
Here is what I have, in the pictures. It is modified based on the official Dreamtonics scripts.

https://github.com/ZYFXzz/Add-Depth/blob/main/AddDepth.js

1 Like

Very cool, thanks!

感谢编写脚本 _(:з)∠) _