Status: Started
Owner: k-ohara5...@oco.net
Labels: Type-Defect Patch-new
New issue 2153 by k-ohara5...@oco.net: piano pedal should stop at requested
moment
http://code.google.com/p/lilypond/issues/detail?id=2153
Piano pedal spanners listen for notes/rests on their Staff, so they can
stop at the last note/rest within their span.
I think we always want the spanner to end at the moment we request, like
they do if they are not in their own Dynamics context.
\version "2.14"
<<
\new Staff \repeat unfold 12 b'4
\new Staff \with {pedalSustainStyle = #'mixed } <<
\new Voice {b1 b1 b}
\new Voice {s1\sustainOn s2. s4\sustainOn\sustainOff s1 } >>
\new Dynamics \with {pedalSustainStyle = #'mixed } {
s1\sustainOn s2. s4\sustainOn\sustainOff s1 } >>
% Workaround, to have pedals set in the Staff so they are printed close
% to the staff, is to use invisible zero-extent rests instead of spacers:
% \new Voice = "pedal" \with {
% \override Rest #'stencil = ##f
% \override Rest #'Y-extent = #'(+inf.0 . -inf.0) }
<http://codereview.appspot.com/5500093>
Attachments:
PedalBug.preview.png 4.1 KB
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond