[JW Lua] RGP Lua 0.59 Released (Robert Patterson)

Robert Patterson robert at robertgpatterson.com
Sun Jan 16 23:15:39 CET 2022


Could you send a sample musx file to go with that script? I'm not sure
what's going on. FWIW: the bottom composite is almost always 1-element per
group. And it's usually only used where you are combining multiple full
meters like (2/4) + (3/8).

On Sun, Jan 16, 2022 at 4:54 AM Carl Vine <carlvine at iinet.net.au> wrote:

> 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 wrote:
>
> Send JWLua mailing list submissions to
> 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
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/d975af95/attachment.html>


More information about the JWLua mailing list