[Script] Synthesizer V APIs Definition for TS and JS

#lang:zh
书接上文:ES6 Language Feature in Scripting / 我们需要 ES6 语言特性

鄙人整了一个 sv.d.ts,里面根据中文版文档写了所有接口的定义。

鄙人才疏学浅,第一次写 .d.ts,也不知道里面写得对不对,也不知道能不能用,只是做了一点微小的工作吧,希望能辅助大家写脚本。如果有不对或者缺失的地方,请指出,也欢迎提交 Pull Request。

仓库:GitHub - leostudiooo/sv-scripts: Leo's script repo for Synthesizer V Studio Pro by @dreamtonics .

#lang:en
From: ES6 Language Feature in Scripting / 我们需要 ES6 语言特性

I have written a sv.d.ts, which has all the interface definitions according to the Chinese version of the document.

This is my first time writing .d.ts, so I don’t know if it’s right or not, and I don’t know if it works, but I just did a little bit of work, so I hope it will help you write scripts. If there is something wrong or missing, please point it out, and feel free to submit a Pull Request.

Repository: GitHub - leostudiooo/sv-scripts: Leo's script repo for Synthesizer V Studio Pro by @dreamtonics .

Enjoy.

「いいね!」 1

Tried using it and it doesn’t work. There must be something wrong. I’m just a noob and trying to make contributions to the community. Hope there would be someone helping me out.

The methods used in sv.test.d.ts seems to be correct by declaring SV as a module. Still trying…