On 2024-04-09 2:55 pm, Maurits Lamers via LilyPond user discussion wrote:
Only when the \sustainOff is placed outside of the tremolo, the bracket extends to the barline:

%%%

\version "2.24.0"
\score {
  \new Staff {
    \clef bass
    \time 6/8
    \relative c' {
      c8 b a g e c |
      \set Staff.pedalSustainStyle = #'mixed
      \override Staff.PianoPedalBracket.to-barline = ##t
      \repeat tremolo 12 { b,32\sustainOn b' } |
      \repeat tremolo 12 { b,32 b' }  \sustainOff |
      c8 e f g a
    }
  }
}

%%%

However, this leads to Lilypond complaining about an unattached SustainEvent. Is this a bug?


Does the empty chord construct help?

  <>\sustainOff

(I'm away from my normal environment, so I cannot test this locally to confirm.)


-- Aaron Hill

Reply via email to