bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 2153 in lilypond: piano pedal should stop at requested moment


From: lilypond
Subject: Issue 2153 in lilypond: piano pedal should stop at requested moment
Date: Fri, 30 Dec 2011 04:15:52 +0000

Status: Started
Owner: address@hidden
Labels: Type-Defect Patch-new

New issue 2153 by address@hidden: 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]