[JW Lua] RGP Lua 0.59 Released (Robert Patterson)
Carl Vine
carlvine at iinet.net.au
Sun Jan 16 11:52:43 CET 2022
This is amazing Robert - mind-boggling complexity.
Trying to wrap my head around Time Signatures. I don’t suppose you have a sample script running through the nested elements in Composite TimeSigs?
I think I’ve fathomed most of it but can’t get time_sig_bot:GetGroupElementBeatDuration(0,0) to work, even though the group and element numbers are shown to exist. Keeps throwing a “nil value” exception. Oddly, “SetGroupElementBeatDuration()” does work.
—=======
if time_sig.CompositeBottom then
local ccb = time_sig:CreateCompositeBottom()
local num_bot_groups = ccb:GetGroupCount()
res=res.."Comp bot = ".. num_bot_groups .. " groups - "
for i = 0,num_bot_groups-1 do
local x = ccb:GetGroupElementCount(i)
res=res.."bot"..i.."= "..x.." els/ \n"
for j = 0, x-1 do
res=res..ccb:GetGroupElementBeatDuration(i,j).."/ "
end
end
end
finenv.UI():AlertNeutral(plugindef(), res)
—=======
Carl
> On 15 Jan 2022, at 10:00 pm, jwlua-request at jwmusic.nu <mailto:jwlua-request at jwmusic.nu> wrote:
>
> Send JWLua mailing list submissions to
> jwlua at jwmusic.nu <mailto:jwlua at jwmusic.nu>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
> or, via email, send a message with subject or body 'help' to
> jwlua-request at jwmusic.nu
>
> You can reach the person managing the list at
> jwlua-owner at jwmusic.nu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JWLua digest..."
>
>
> Today's Topics:
>
> 1. RGP Lua 0.59 Released (Robert Patterson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 14 Jan 2022 10:31:16 -0600
> From: Robert Patterson <robert at robertgpatterson.com>
> To: "The JW Lua script plug-in." <jwlua at jwmusic.nu>
> Subject: [JW Lua] RGP Lua 0.59 Released
> Message-ID:
> <CAACncetAD9LXkWUhXeAvUFxmZikFAijMAv5TM9GAaafta3tgaA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> RGP Lua version 0.59 is now available for download on the download page
> <https://robertgpatterson.com/-fininfo/-rgplua/rgplua.html>.
>
> Enhancements include:
>
> - Full support for adding, changing, and deleting mid-measure clefs.
> (See FCCell.)
> - Full support for adding, changing, and deleting composite time
> signatures, both measure-level and for independent time signatures.
> - Various new methods and properties on FCCellMetrics, FCArticulation,
> FCDistancePrefs, FCStrings, and FCFontInfo. (See version history for
> details.)
> - Added system- and folder-level prefix script options (perhaps useful
> for adding to PATH and/or CPATH require paths).
> - Bug fixes.
>
> Happy scripting,
> Robert
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220114/d4cb78e7/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>
> ------------------------------
>
> End of JWLua Digest, Vol 87, Issue 6
> ************************************
Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/52a080c7/attachment.htm>
More information about the JWLua
mailing list