<div dir="ltr">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).<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 16, 2022 at 4:54 AM Carl Vine <<a href="mailto:carlvine@iinet.net.au">carlvine@iinet.net.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">
<div style="overflow-wrap: break-word;">This is amazing Robert - mind-boggling complexity. <div><br></div><div>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><br></div><div>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><br></div><div>—=======</div><div><div>if time_sig.CompositeBottom then</div><div>    local ccb = time_sig:CreateCompositeBottom()</div><div>    local num_bot_groups = ccb:GetGroupCount()</div><div>    res=res.."Comp bot = ".. num_bot_groups .. " groups - "</div><div><br></div><div>    for i = 0,num_bot_groups-1 do</div><div>        local x = ccb:GetGroupElementCount(i)</div><div>        res=res.."bot"..i.."= "..x.." els/ \n"</div><div>        for j = 0, x-1 do</div><div>            res=res..ccb:GetGroupElementBeatDuration(i,j).."/ "</div><div>        end</div><div>    end</div><div>end</div><div>finenv.UI():AlertNeutral(plugindef(), res)         </div></div><div><div>—=======</div><div></div></div><div><br></div><div><div><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Carl<br></div></div>

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

</div>
<br></div>_______________________________________________<br>
JWLua mailing list<br>
<a href="mailto:JWLua@jwmusic.nu" target="_blank">JWLua@jwmusic.nu</a><br>
<a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
</blockquote></div>