So I've implemented the function I wanted. See here <https://pastebin.com/enEmNziv>. Sure, I'd probably get no points for elegance, but it works well enough. I used the fact that the "q" repeat chords have an empty "elements" list, to avoid tracking repeats.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to