[JW Lua] Wrong CalcStemUp values on "Reverse up" notes?

Jan Angermüller jan at angermueller.com
Mon Sep 9 21:25:09 CEST 2019


Jari et al,

I get wrong FCNoteEntry:CalcStemUp() results when I run this script on 
the attached document.

for e in eachentry(finenv.Region()) do
     print(e:CalcStemUp())
end

Instead of
true, true, false, false, true, true
the script prints:
true, false, true, false, false, false



The notes that have the "Reverse Up" flag set return the wrong result.

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20190909/ad76a7cf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apjkjnofkngbobfa.png
Type: image/png
Size: 7032 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20190909/ad76a7cf/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong calc stem up metrics.musx
Type: application/octet-stream
Size: 104995 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20190909/ad76a7cf/attachment.obj>


More information about the JWLua mailing list