[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PianoPedalBracket does not seem to correctly use spanner-interface for p
From: |
Michael Gerdau |
Subject: |
PianoPedalBracket does not seem to correctly use spanner-interface for property to-barline |
Date: |
Fri, 14 Aug 2015 13:00:31 +0200 |
User-agent: |
KMail/4.14.10 (Linux/4.1.4-1-ARCH; KDE/4.14.10; x86_64; ; ) |
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: address@hidden
GPG-keys available on request or at public keyserver
signature.asc
Description: This is a digitally signed message part.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- PianoPedalBracket does not seem to correctly use spanner-interface for property to-barline,
Michael Gerdau <=