有没有办法在FinaleScript中定义一个函数?
假设我有一段FinaleScript代码,其中有一块代码可以将一些小节上下移动n个行。但是,我觉得创建一个名为transpose(n)
的函数会更加方便,它可以将小节上下移动n个半音。
那么,在FinaleScript中是否有任何方法可以实现这一点呢?
有没有办法在FinaleScript中定义一个函数?
假设我有一段FinaleScript代码,其中有一块代码可以将一些小节上下移动n个行。但是,我觉得创建一个名为transpose(n)
的函数会更加方便,它可以将小节上下移动n个半音。
那么,在FinaleScript中是否有任何方法可以实现这一点呢?
transpose(n)
函数呢?因为如果你要有一个转调脚本,那么你不是只需要对所有东西进行转调吗?//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”