Dear ponders,

the following problem had been asked on the list several times (see also 
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=pedal+to-barline&submit=Search!&idxname=lilypond-user&max=20&result=normal&sort=score)
 and was uniformly attributed to be 
issue 1128 (https://code.google.com/p/lilypond/issues/detail?id=1128)

I have looked at said issue and disagree with this attribution.

Here comes the code:
%%%%%%%%%%%
\version "2.19.24"

\relative c' {
  \set Staff.pedalSustainStyle = #'mixed
   
  \override TextSpanner #'to-barline = ##f
  \override Hairpin #'to-barline = ##f
  \override SustainPedalLineSpanner #'to-barline = ##f
  \override TrillSpanner #'to-barline = ##f

  c1\startTextSpan\<\sustainOn\startTrillSpan
  c\stopTextSpan\!\sustainOff\stopTrillSpan
  \break
           
  \override TextSpanner #'to-barline = ##t
  \override Hairpin #'to-barline = ##t
  \override SustainPedalLineSpanner #'to-barline = ##t
  \override TrillSpanner #'to-barline = ##t
       
  c1\startTextSpan\<\sustainOn\startTrillSpan
  c\stopTextSpan\!\sustainOff\stopTrillSpan
  \break

 %% repeat last line to make sure it is not happening in
 %% the last bar and thus NOT issue 1128
  c1\startTextSpan\<\sustainOn\startTrillSpan
  c\stopTextSpan\!\sustainOff\stopTrillSpan
  \bar "|."
}
\layout { indent=0 }
%%%%%%%%%%%

If it were issue 1128 then at least the second line should have a
properly ending sustain pedal bracket. Moreover all other spanner
in the example behave as expected.

Could someone more knowledgeable than me have a look ?
If indeed it is issue 1128 then please extend the corresponding issue's
description.

Last not least there seem to be $75 bug bounty in total offered for
solving this... :)

Kind regards,
Michael
-- 
 Michael Gerdau       email: [email protected]
 GPG-keys available on request or at public keyserver

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to