有没有办法在finalescript中定义一个函数?

假设我有一个finalescript,作为其中的一部分,我有一个代码块,可以转换一些n行的度量.但是,我觉得创建一个功能转置(n)会更加方便,它可以将它转换为n个半步.

那么,有没有办法在finalescript中做到这一点?

没有.在
closest thing I could find to a documentation中,没有任何关于功能的文章.

但是,当我想到你的特定问题时,你是否需要转置(n)功能?因为如果你想要一个换位脚本,你不会简单地转换一切吗?

finalescript blog的一个例子:

//set this to the key of the instrument transposition

key signature F major

//highlight the staff that needs to be made key independent
//or you can set the staff to be selected by removing the
//comment slashes and changing the number

select staff 1

staff attributes
check “Key Signature” Near “Independent Elements”
press “ok”

//Set this to the key of the piece,such as C major

key signature C Major

//to correct the pitch of the staff you need to set this

menu item “Utilities/Transpose”
radio “Down”
radio “Chromatically”
popup “Perfect Fourth”
type “0” near “Octave(s)
uncheck “Preserve Original Notes”
press “OK”

我同意在finalescript中使用函数会非常好用和方便,但我想finalescript没有它们.

祝好运!

dawei

【声明】:唐山站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。