lilypond-user
[Top][All Lists]
Advanced

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

Manual repeat and line break.


From: Walt North
Subject: Manual repeat and line break.
Date: Tue, 24 Dec 2024 20:19:04 -0800
User-agent: Mozilla Thunderbird

I am working on an arrangement of a James Taylor song.  It really does not lend itself to a straightforward repeat structure since there is a fair amount of bouncing around from chorus to verse.  It needs a combination of volta repeat and D.S al Segno\coda type of arrangement.  After quite a bit of struggle I have not gotten anything to really work well using the built in repeat structures.  The only thing I have really gotten to work is to just use manual repeats combined with markup for the segno markers.  I have this 95% working but am having a problem with line breaks.  Below are stripped down examples of the problem I'm having.

First is what is working from a basic flow point of view. Both code and screen shot.

After that is what I was hoping to get to work using /break and a screen shot. But the \break is causing the start-repeat to be ignored (or hidden?).

Walt North

\version "2.24.4"

\include "../../Lilypond/Functions.ly"

\relative c'' {
  <<
    \new ChordNames { \chordmode { a1 a } }
    \new Staff { \relative c' { a1 a} }
  >>

  <<
    \new ChordNames {
      \chordmode {
        \set Score.repeatCommands = #'(start-repeat)
        b1 b
        \set Score.repeatCommands = #'(( end-repeat) )
      }
    }
    \new Staff {
      \relative c' {
        b b
      }
    }
  >>
}



\version "2.24.4"

\include "../../Lilypond/Functions.ly"

\relative c'' {
  <<
    \new ChordNames { \chordmode { a1 a \break } }
    \new Staff { \relative c' { a1 a} }
  >>

  <<
    \new ChordNames {
      \chordmode {
        \set Score.repeatCommands = #'(start-repeat)
        b1 b
        \set Score.repeatCommands = #'(( end-repeat) )
      }
    }
    \new Staff {
      \relative c' {
        b b
      }
    }
  >>
}


reply via email to

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