bug-lilypond
[Top][All Lists]
Advanced

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

PianoPedalBracket bug


From: Han-Wen Nienhuys
Subject: PianoPedalBracket bug
Date: Thu, 22 Jan 2004 02:37:40 +0100

address@hidden writes:
> I found a bug while trying to make a sustain bracket extend past the last
> note.  The default pedal style works, but with mixed style:
> 
> \score {
> \new PianoStaff <<
> \new Staff \notes { \clef treble a'2 a' a'1 }
> \new Staff \notes {
>       \property Staff.pedalSustainStyle = #'mixed
>       \clef bass << { a2 a2 a1 } { s2\sustainDown s2 s2 s2\sustainUp }
> >>
> }
> >>
> }
> 
> 
> /home/williams/music/susbug.ly:6:43: warning: Programming error: Spanner
> `PianoPedalBracket' is not fully contained in parent spanner
> `SustainPedalLineSpanner'.:
>       \clef bass << { a2 a2 a1 } { s2\sustainDow
>                                                   n s2 s2 s2\sustainUp }
> >>
> programming error: Infinity or NaN encountered while converting Real
> number; setting to zero. (Continuing; cross thumbs)

My living room floor compares favorably with the mess that
piano-pedal-engraver is now, and I've scheduled it for rewrite. I
can't fix this easily, so your best option is to fake it,
i.e. something like

       a1*1/4 \hideNotes a4 a4 a\sustainUp

> BTW: doc bug? Piano music -> Pedals
>   it says "setting pedal-type to mixed" in the text
>   but says "Staff.pedalSustainStyle = #'mixed" in the example
>   it then mentions "\pedal-type = #'text" again.
> Very confusing...

Yes, fixed.


-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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