Hi everyone,

just figured I’d recommend a bit of trickery with LilyPond input syntax that makes my work transcribing music a lot easier and more pleasant. This is about repetitive structures with small variations, and I suspect many might not be aware of these possibilities (yet).

Want to use \repeat unfold, but the first note has a different articulation or a slur starting? Insert a zero-duration empty chord to add these articulations/spanners to:

\version "2.25.28"
{ <>(-> \repeat unfold 6 { c'8 c'' } c'4) r }

Small variations within a repetitive pattern? \alternative can now be used anywhere inside a \repeated expression.

\version "2.25.28"
\relative { \repeat unfold 6 { g'8( \alternative { a c d fis, } b a) } g2 r }

Many thanks to those who invented the necessary framework!

Best regards,
Simon

Reply via email to