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

Reply via email to