[JW Lua] GetStaffPosition for a note entry ?

Jan Angermüller jan at angermueller.com
Wed Jul 2 17:03:53 CEST 2014


Does anyone know if there is GetStaffPosition for a "normal" note entry ?
There is a GetStaffPosition for percussion note entries 
(FCPercussionLayoutNote:GetStaffPosition),
but there seems to be no one for normal note entries.
If there is none, then calculation is not so easy:
taking the note displacement as a starter (FCNote:GetDisplacement),
you then have to calculate by taking into account at least
clef selection, transposition settings, key signature and accidentals.

Jari, how about a function that does that job ?
Maybe even the Finale PDK offer something like that.

Jan Angermueller




More information about the JWLua mailing list