Re: Make every n'th barline different?
What about this? \version 2.19.2 barlines = \relative c' { \set Timing.defaultBarType = ; \repeat unfold 4 { \repeat unfold 3 { s s s s } \bar | } } music = \relative c' { \repeat unfold 12 {c d e f} } \score { \new Staff \new Voice \music \new Voice \barlines } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Make-every-n-th-barline-different-tp162164p162166.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Make every n'th barline different?
On Thu, 2014-05-08 at 07:44 -0700, Gilberto Agostinho wrote: What about this? \version 2.19.2 barlines = \relative c' { \set Timing.defaultBarType = ; \repeat unfold 4 { \repeat unfold 3 { s s s s } \bar | } } music = \relative c' { \repeat unfold 12 {c d e f} } \score { \new Staff \new Voice \music \new Voice \barlines } Thanks Gilberto, that's simpler and better than anything I would have cooked up. And by simply using: \version 2.19.2 barlines = { \set Timing.defaultBarType = ; \repeat unfold 3 { s1 } \bar | } \relative c' { \repeat unfold 12 {c d e f} \\ \repeat unfold 4 \barlines } I can make use of this technique in the middle of a much longer piece. -- Graham ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Make every n'th barline different?
I'm glad this solves your problem, best regards! -- View this message in context: http://lilypond.1069038.n5.nabble.com/Make-every-n-th-barline-different-tp162164p162177.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Make every n'th barline different?
On Thu, May 08, 2014 at 04:35:40PM +0100, Graham King wrote: Thanks Gilberto, that's simpler and better than anything I would have cooked up. And by simply using: \version 2.19.2 barlines = { \set Timing.defaultBarType = ; \repeat unfold 3 { s1 } \bar | } \relative c' { \repeat unfold 12 {c d e f} \\ \repeat unfold 4 \barlines } I would leave out the \\ in this case. The music will otherwise appear in voiceOne. Toine Schreurs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Make every n'th barline different?
On Thu, 2014-05-08 at 18:38 +0200, Toine Schreurs wrote: On Thu, May 08, 2014 at 04:35:40PM +0100, Graham King wrote: Thanks Gilberto, that's simpler and better than anything I would have cooked up. And by simply using: \version 2.19.2 barlines = { \set Timing.defaultBarType = ; \repeat unfold 3 { s1 } \bar | } \relative c' { \repeat unfold 12 {c d e f} \\ \repeat unfold 4 \barlines } I would leave out the \\ in this case. The music will otherwise appear in voiceOne. Toine Schreurs Quite right, Toine. This solves my self-inflicted problem with vertical positioning of rests. Doh! thanks -- Graham ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user