lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

different repeat structures in score


From: Mark Knoop
Subject: different repeat structures in score
Date: Fri, 18 Apr 2014 17:23:08 +0100

I'm engraving a score where each instrument repeats a different bar. To
achieve this I tried moving the Default_bar_line_engraver to the Staff
context, but now the repeat bar lines don't appear at all.

The metre stays the same, so I don't think I have to move the
Timing_translator also, but the result is the same either way.

Any suggestions?


\version "2.18.0"
\layout {
  \context {
    \Staff
    \consists Default_bar_line_engraver
    %\consists Timing_translator
  }
  \context {
    \Score
    \remove Default_bar_line_engraver
    %\remove Timing_translator
  }
}
\score {
  {
    <<
      \new Staff {
        c'1
        c'1
        \repeat volta 2 { c'1 }
      }
      \new Staff {
        \repeat volta 2 { c'1 }
        c'1
        c'1
      }
    >>
  }
}


-- 
Mark Knoop



reply via email to

[Prev in Thread] Current Thread [Next in Thread]