I want the hairpin to end on the first note of a new line.
\relative g'{
\override Score.Hairpin #'after-line-breaking = ##t
g2\< a4 a4 | \break
b2.\! r4}
But it doesn't work. What am I doing wrong?
If i have well understood, 'after-line-breaking is a callback function to
allow user to tweak some parameters if a line break does occur, not to
decide if you want or not to split a grob after a line break.
(see
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Difficult-tweaks#Difficult-tweaks )
So the only (ugly) solution i know is :
%%%%%%%%%%%%
\relative g'{
g2\< a4 a4 | \break
s16 b2.*11/12\! r4
c1
}
%%%%%%%%%%%%
but it is not very usefull in the "Real Life" because you generally don't
know where a line break occurs.
Gilles
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user