Hi All,

I have a seemingly simple problem with the appearance of crescendo hairpin directly before a repeat bar line.

There isn't any collision before a normal bar line, however the ending of the hairpin overlaps with the repeat bar line.


I tried this before the hairpin:

\once\overrideHairpin.to-barline = ##t

It doesn't work (I think because this is the default behaviour).


Can anyone suggest a simple solution that stops the crescendo (and decrescendo) haipins before the repeat bar line and works globally? (I can manually adjust each hairpin, but I hope there is some simpler solution).

Thanks.

Krisztián


Example:

\version"2.24.4"
PianoRight = \relativec' {
c2\p\<c
c2\mf\<c
\repeatvolta2{c2\fc }
}
PianoLeft = \relativec {
\clef"bass"
c1
c1
\repeatvolta2{c1}
}
\score{
\newPianoStaff
<<
\newStaff= "right"{\PianoRight }
\newStaff= "left"{\PianoLeft }

}

- no title specified

Ruzsa Krisztián

Telefon:+36 20 277 0788
Email: [email protected] <mailto:[email protected]>
\version "2.24.4"

PianoRight = \relative c' {
  c2\p\< c
  c2\mf\< c
  \repeat volta 2 { c2\f c }
}
PianoLeft = \relative c {
  \clef "bass"
  c1
  c1
  \repeat volta 2 { c1 }
}

\score {
  \new PianoStaff
  <<
    \new Staff = "right" { \PianoRight }
    \new Staff = "left" { \PianoLeft }
  >>
}

Reply via email to