lilypond-user
[Top][All Lists]
Advanced

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

Re: Sustain pedal cautionary after line break


From: Pierre Perol-Schneider
Subject: Re: Sustain pedal cautionary after line break
Date: Wed, 3 Feb 2016 07:28:08 +0100

Hi Harm,

2016-02-03 0:17 GMT+01:00 Thomas Morley <address@hidden>:
 
It's 'articulations not 'articulation.

>            (set! (ly:music-property first-element 'articulation)
>                  (cons (make-music 'SustainEvent 'span-direction -1)
>                        (ly:music-property first-element 'articulation)))
>            (set! (ly:music-property last-element 'articulation)
>                  (cons (make-music 'SustainEvent 'span-direction 1)
>                        (ly:music-property last-element 'articulation))))))

 Thank you! No clue how I did that ;)...
 
To make it work with recent devel versions you need to add
\once\override Staff.SustainPedalLineSpanner.layer = #2 %% every value
>1 will do

Great, thanks for the tip.

Cheers,
Pierre


reply via email to

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