Hello! Would it be possible to show the starting measure number of each section in setlist when the song is expanded? This could be an alternative to song/section numbers, or an additional option.
This would be helpful for our group during rehearsals, as we have some members who use lead sheets with measure numbers (vocalists, pianist), while the rest of the band typically use chord charts. The band leader could say “let’s take it from Bridge 2 — measure 74”, and everyone is on the same page (literally).
I’ve been using the Canvas feature for a few weeks now (and love it!) but haven’t figured out a way to do this in a streamlined way.
Thanks for considering!
Hey Andrew,
Thanks for the suggestion! I’ll pass this along.
Currently AbleSet exposes /global/currentMeasure, which you could use as a workaround by building this in Canvas using dynamic labels.
For the selected section, add a label like “Section:” and then a dynamic label with:
${osc("/setlist/queuedName", 1) || osc("/setlist/activeSectionName")}
This will show the queued section if one is selected, and otherwise fall back to the currently active section.
Then add another label like “Starting Measure:” and a dynamic label with:
${(() => {
const measure = Number(osc("/global/currentMeasure"));
const countIn = Number(osc("/settings/countInDuration")) || 0;
const isCountingIn = !!osc("/setlist/isCountingIn");
if (Number.isNaN(measure)) return osc("/global/currentMeasure");
return isCountingIn ? measure + countIn : measure;
})()}
This should work with both a 2 bar and 4 bar count in, since it reads the current count in duration dynamically.
If count in is disabled, you don’t need to change anything, as it will simply show the current measure.
Try it out and let me know if this works for your use case!
1 Like
Thanks for passing this along, @agustinvolpe! I appreciate the scripts for the labels, too. I haven’t really sunk my teeth into the scripting aspect of Ableset’s canvases yet, and this helps me understand the capabilities better.
I think that, under a lot of circumstances, this script would work really well. My use case might be on the fringe, but for many of the songs we play, we use sheet music that we purchase. The music includes various repeated sections, first and second endings, and “D.S. al Coda” markers, meaning they repeat certain sections (and measures) of the sheet music occur multiple times. Since I’ve started using the “Measures” track, I’ve created measures in an order that match the pre-produced sheet music that we’re using. For example: in one song, my measures track might go 1-48, then 49-64, then 65-128, then back to 49-64 again, and finally 129-192. The script you sent seems to predict what measure the next section “should” be during countoff, mathematically, if the numbers all increase by one from beginning to end (which makes senese if there are no repeated sections). Then, it displays the correct measure (from the measures track) once the section begins.
I’ll spend some more time experimenting with the scripts in the coming weeks. Again, thanks for your help.