[JW Lua] SMuFL constants in JW Lua

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Sat Aug 22 12:40:16 CEST 2015


Hello All!

I'm planning to include SMuFL support in JW Lua on multiple levels, 
since that's clearly where Finale and music notation are heading right 
now. On the most generic level, I want to add the SMuFL symbol constants 
and use them as mapping for musical characters (even for the old legacy 
fonts), so the scripts becomes easier to maintain. Scripts will then be 
able to reference a symbol constant instead of just a slot number for a 
font.

My question to you is how the SMuFL symbols should be mapped to JW Lua 
constants:

For example, the "4-string tab clef" glyph has the SMuFL symbol name 
"4stringTabClef". How would you like this to be represented in JW Lua:
* finale.SMUFLSYM_4stringTabClef
or
* finale.SMUFLSYM_4STRINGTABCLEF
or
* finale.SMUFLSYM_4STRING_TAB_CLEF

Personally, I can see the usefulness of using an exception to the 
all-upper-case rule here (and use the "finale.SMUFLSYM_4stringTabClef" 
naming convention), since that would make it easy to use the SMuFL 
documentation directly.

What are your thoughts?


Best regards,

Jari Williamsson





More information about the JWLua mailing list