Hello,

I have to notate a piece of music where I need a TextSpanner for playing instructions. One voice has to repeat a measure again and again, so I want to use faulenzer. But I also need the TextSpanner.

The problem is, that the TextSpanner needs different notes to begin and end. With the faulenzer there is only one music item (note) and I dont find a place to put the start/start of TextSpanner.

Can you help me to add the spanner to the third measure?

Regards,
Helge
#(ly:set-option 'delete-intermediate-files #t)
#(ly:set-option 'point-and-click #f)

\version "2.13.0"

configureTextSpanners = {
	\override TextSpanner #'dash-period = #1
	\override TextSpanner #'dash-fraction = #0.5
	\override TextSpanner #'(bound-details right text) =
		\markup { \draw-line #'(0 . -1) }
	\override TextSpanner #'(bound-details right padding) = #-1
}

\relative c''
{
	\time 3/4
	\configureTextSpanners
	
	% play with damped strings
	\override TextSpanner #'(bound-details left text) = "Xylo "
	<a, b>8[ \startTextSpan d] <a b>[ d] <a b>[ d] \stopTextSpan |

	R2. |

	% repeat first measure
	\repeat tremolo 3 { <a b>8 d8 }  |
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to