REQUEST: #'omit and #'include options for \repeat unfold?
Hello all! I’m just wondering whether it might be easy — and ultimately desireable — to have a built-in method of choosing which grobs get repeated and/or omitted during an unfold \repeat expression. For example, in a string piece I’m currently writing, I have \repeat unfold 2 { b8( d') b8( d') b8\downbow d'--(\upbow a--) } I’d like the bowing to show up only on the first repeat, so it would be great to have something like \set repeatOmitInterfaces = #’(text-script-interface) Another oft-encountered use case would be \repeat unfold N { a4\pp a a a } for which one currently must write a4\pp a a a \repeat unfold N-1 { a4 a a a } Note that I know of the “create a variable with tagged content” option, and while it certainly has its place, it’s not nearly as user-friendly as the one I’m suggesting here. Cheers, Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: REQUEST: #'omit and #'include options for \repeat unfold?
On Mon, 5 Jan 2015 17:19:47 -0500 Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Another oft-encountered use case would be \repeat unfold N { a4\pp a a a } for which one currently must write a4\pp a a a \repeat unfold N-1 { a4 a a a } \repeat unfold N { \atfirstrepeat{a\pp} \atsecondrepeat{a\ff} a a a } \repeat unfold N { \atrepeat{{a\pp}{a\ff}} a a a } I think these should be relatively easy to implement in scheme, provided you can examine the value of the current repeat counter. -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: REQUEST: #'omit and #'include options for \repeat unfold?
Kieren MacMillan kieren_macmillan at sympatico.ca writes: I’m just wondering whether it might be easy — and ultimately desireable — to have a built-in method of choosing which grobs get repeated and/or omitted during an unfold \repeat expression. Another oft-encountered use case would be \repeat unfold N { a4\pp a a a } Until somebody implements the requested options, we have to use parallel music threads, one with repeated stuff, the other with the non-repeated \new Staff \transpose c c' \repeat unfold 16 { a4 b f g } { s4\pp\ s2 s4 s2\mp } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user