How can I use \repeat volta in a polymetric score? Removing 
Default_bar_line_engraver from the Score context and adding it to the Staff 
context seems to be the issue. When I restore Default_bar_line_engraver to the 
Score context then the repeats are displayed, but of course the score isn’t 
polymetric anymore. 

Thanks for your help,
Holland

Here’s an example:
*****************************************************
\version "2.19.30"
\language "english"

\layout {
  \context {
    \Score
    \remove "Bar_number_engraver"
     %allow each part to have its own time signature and barlines
     \remove "Timing_translator"
     \remove "Default_bar_line_engraver"
  }
  
    \context {
    \Staff
    %allow each part to have its own time signature and barlines
    \consists "Timing_translator"
    \consists "Default_bar_line_engraver"
  }
}


violin = \relative c'' {
  \time 5/4
  c4 c c c c
  \repeat volta 2 {
  \time 4/4
  c4 c c c
  }
  c4 c c c
}

violinTwo = \relative c'' {
  \time 4/4
  d4 d d d
  \repeat volta 2 {
  \time 5/4
  d4 d d d d
  }
  \time 4/4
  d4 d d d
}


violinPart = \new Staff \with {
  instrumentName = "Violin"
} \violin

violinTwoPart = \new Staff \with {
  instrumentName = "Violin 2"
}\violinTwo

\score {
  <<
    \violinPart
    \violinTwoPart
  >>
  \layout { }
}
************************************************************
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to