Heikki Johannes Junes wrote:
If you apply the shorten-pair property before the "d1" note, in your exampleIt is hard to include the last note in the PianoPedalBracket. Following the advices at:http://lilypond.org/development/Documentation/user/out-www/lilypond/Pedals.html#Pedals I constructed the following example, which shows the bad behaviour: \score { \notes \transpose c' c' { % Unfortunately, changing property here make it look bad: % o o o % S.P.__\_/_____| \property Staff.PianoPedalBracket \override #'shorten-pair = #'(0 . -1.6) c1 \sostenutoDown d1 \sostenutoUp \sostenutoDown % Changing property did not include the last note: % o o o % S.P.__/\____| % \property Staff.PianoPedalBracket \override % #'shorten-pair = #'(0 . -1.6) e1 \sostenutoUp } } So, either (i) the last note is included, and there is the bad behaviour (above), or (ii) the last note is not included, and brackets look beatiful. Summarizing, one should be able either (i) change the property just before \sotesnutoUp or \sostenutoDown, or (ii) have a property to change the ending bracket angle only and document it also.
above, you should get the behaviour you want. Applying the property before
the "c1" affects the length of the first bracket, because the property is
applied before the first bracket is created (with the first \sostenutoDown).
Applying it before the "e1" doesn't make any difference to the second bracket,
as the bracket has already been created (with the second \sostenutoDown)
before the property is applied.
It's the default to not include the final note, as (IMO) this represents
releasing the pedal and depressing the note simultaneously.
--
chris
_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel