[JW Lua] Fastest method for converting real whole rests to default whole rests

Jan Angermüller jan at angermueller.com
Thu Oct 22 10:52:16 CEST 2020


Hi all,

what is the fastest method in removing a whole rest and thus creating 
the "default whole rest" look?

I noticed that the standard Finale plug-in "Change to Default Whole 
Rests" works super-fast while all JW Lua methods that I tested can take 
several seconds (even more than a minute) if run on huge scores with 
thousands of empty measures.
I have tested it with:

FCNoteEntryLayer:DeleteAllRestFrames()
FCNoteEntryLayer:DeleteAllNullEntries()
FCNoteEntryLayer:ClearAllEntries()
FCNoteEntryCell:ClearFrame()
FCNoteEntryCell:DeleteAllNullEntries()
FCNoteEntryCell:DeleteEntry()

Maybe I did something wrong, but I wonder why it is so slow and the 
Finale plug-in so fast.
Any ideas?

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20201022/d6e3da79/attachment.htm>


More information about the JWLua mailing list