lilypond-user
[Top][All Lists]
Advanced

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

Textspanner for one note


From: Helge Kruse
Subject: Textspanner for one note
Date: Sat, 12 Sep 2009 18:03:55 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

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 }  |
}


reply via email to

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