2015-02-08 36 views
5

Son bildirimde bir işlev tanımlamanın herhangi bir yolu var mı?Bir işlev nasıl oluşturulur

Diyelim ki bir final raporum var ve bunun bir parçası olarak, bazı satırları n çizgileri veren bir kod bloğum var. Ancak, bunu, yarım adımlarla ileten bir transpose(n) işlevini oluşturmanın çok daha uygun olacağını hissediyorum.

Son olarak, bu makaleyi final yazısında yapmanın bir yolu var mı?

cevap

1

Hayır. closest thing I could find to a documentation'da, işlevler hakkında hiçbir şey yazılmadı.

Ancak, özel sorunuzu düşündüğümde, bir transpose(n) işlevine gereksiniminiz olur mu? Çünkü bir transkripsiyon senaryosuna sahip olacaksanız, sadece her şeyi transpoze edemez miydiniz?

finalescript blog bir örnek:

//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” 

Ben finalescript işlevleri olması çok güzel ve kullanışlı olacağını kabul ediyorum, ancak ben finalescript onları yok sanırım.

İyi şanslar!

İlgili konular