Hello Michael, Could something like this work? Cheers, Valentin
Am Donnerstag, 27. Jänner 2022, 23:13:49 CET schrieb Michael Rivers: > Does anyone know if there was ever an answer to this? I’m re-engraving a > score that has a piano pedal style with “Ped”, then a solid line, then a > “*” at the end. It’s close to “mixed” style but with an added “*” at the > end. > > > > Thanks in advance, > > Michael > >
\relative {
\override Staff.PianoPedalBracket.edge-height = #'(0 . 0)
\override Staff.PianoPedalBracket.stencil =
#(grob-transformer 'stencil
(lambda (grob orig)
(let* ((star (grob-interpret-markup grob (markup #:musicglyph "pedal.*")))
(gr_orig (ly:grob-original grob))
(sibs (if (ly:grob? gr_orig) (ly:spanner-broken-into gr_orig) '())))
(if (and (ly:grob? gr_orig) (eq? grob (last sibs)))
(ly:stencil-combine-at-edge orig X RIGHT star -0.82)
orig))))
\set Staff.pedalSustainStyle = #'mixed
c''4\sustainOn g c d
\break d g, c2\sustainOff
}
signature.asc
Description: This is a digitally signed message part.
