<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">This is amazing Robert - mind-boggling complexity. <div class=""><br class=""></div><div class="">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?<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">—=======</div><div class=""><div class="">if time_sig.CompositeBottom then</div><div class="">    local ccb = time_sig:CreateCompositeBottom()</div><div class="">    local num_bot_groups = ccb:GetGroupCount()</div><div class="">    res=res.."Comp bot = ".. num_bot_groups .. " groups - "</div><div class=""><br class=""></div><div class="">    for i = 0,num_bot_groups-1 do</div><div class="">        local x = ccb:GetGroupElementCount(i)</div><div class="">        res=res.."bot"..i.."= "..x.." els/ \n"</div><div class="">        for j = 0, x-1 do</div><div class="">            res=res..ccb:GetGroupElementBeatDuration(i,j).."/ "</div><div class="">        end</div><div class="">    end</div><div class="">end</div><div class="">finenv.UI():AlertNeutral(plugindef(), res)         </div></div><div class=""><div class="">—=======</div><div class=""></div></div><div class=""><br class=""></div><div class=""><div class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Carl<br class=""></div></div>

</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 15 Jan 2022, at 10:00 pm, <a href="mailto:jwlua-request@jwmusic.nu" class="">jwlua-request@jwmusic.nu</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Send JWLua mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:jwlua@jwmusic.nu" class="">jwlua@jwmusic.nu</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span><a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" class="">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>jwlua-request@jwmusic.nu<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>jwlua-owner@jwmusic.nu<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of JWLua digest..."<br class=""><br class=""><br class="">Today's Topics:<br class=""><br class="">   1. RGP Lua 0.59 Released (Robert Patterson)<br class=""><br class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Fri, 14 Jan 2022 10:31:16 -0600<br class="">From: Robert Patterson <robert@robertgpatterson.com><br class="">To: "The JW Lua script plug-in." <jwlua@jwmusic.nu><br class="">Subject: [JW Lua] RGP Lua 0.59 Released<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><CAACncetAD9LXkWUhXeAvUFxmZikFAijMAv5TM9GAaafta3tgaA@mail.gmail.com><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">RGP Lua version 0.59 is now available for download on the download page<br class=""><https://robertgpatterson.com/-fininfo/-rgplua/rgplua.html>.<br class=""><br class="">Enhancements include:<br class=""><br class="">   - Full support for adding, changing, and deleting mid-measure clefs.<br class="">   (See FCCell.)<br class="">   - Full support for adding, changing, and deleting composite time<br class="">   signatures, both measure-level and for independent time signatures.<br class="">   - Various new methods and properties on FCCellMetrics, FCArticulation,<br class="">   FCDistancePrefs, FCStrings, and FCFontInfo. (See version history for<br class="">   details.)<br class="">   - Added system- and folder-level prefix script options (perhaps useful<br class="">   for adding to PATH and/or CPATH require paths).<br class="">   - Bug fixes.<br class=""><br class="">Happy scripting,<br class="">Robert<br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220114/d4cb78e7/attachment-0001.html><br class=""><br class="">------------------------------<br class=""><br class="">Subject: Digest Footer<br class=""><br class="">_______________________________________________<br class="">JWLua mailing list<br class="">JWLua@jwmusic.nu<br class="">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu<br class=""><br class=""><br class="">------------------------------<br class=""><br class="">End of JWLua Digest, Vol 87, Issue 6<br class="">************************************<br class=""></div></div></blockquote></div><br class=""></div></div></div><br class=""><br class=""><div class="">
<br class="">Carl

</div>
<br class=""></body></html>