lilypond-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: Ritardando and accelerando
From
:
Pierre Perol-Schneider
Subject
:
Re: Ritardando and accelerando
Date
:
Tue, 27 Jan 2015 09:56:19 +0100
Hi Peter, Hi Joram,
How about:
\version "2.18.2"
\layout {
ragged-last = ##t
}
#(define (text-spanner-start-stop mus)
(let ((elts (ly:music-property mus 'elements)))
(make-music 'SequentialMusic 'elements
(append
(list (make-music 'TextSpanEvent 'span-direction -1))
(reverse (cdr (reverse elts)))
(list (make-music 'TextSpanEvent 'span-direction 1))
(list (last elts))))))
rit = #(define-music-function (parser location music)(ly:music?)
#{
\override TextSpanner.bound-details.left-broken.text = ##f
\override TextSpanner.bound-details.left.text = "rit. "
$(text-spanner-start-stop music)
#})
ritAtempo = #(define-music-function (parser location music)(ly:music?)
#{
\override TextSpanner.bound-details.left-broken.text = ##f
\override TextSpanner.bound-details.left.text = "rit. "
\override TextSpanner.bound-details.right-broken.text = ##f
\override TextSpanner.bound-details.right.text = " a Tempo."
$(text-spanner-start-stop music)
#})
\transpose c c' {
\key bes\major
r4 f f g8 a
bes4 c' a f
r4 bes a f
\rit {
ees4 d8 ees f4 ees
\break
d2 c
s1 s
}
\bar "|."
}
\transpose c c' {
\key bes\major
r4 f f g8 a
bes4 c' a f
r4 bes a f
\ritAtempo {
ees4 d8 ees f4 ees
\break
d2 c
s1
}
s
\bar "||"
}
2015-01-27 8:42 GMT+01:00 Peter Danemo
<
address@hidden
>
:
How do I get rid of the second ritardando?
Try to add:
\override TextSpanner.bound-details.left-broken.text = ##f
HTH,
Pierre
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
Ritardando and accelerando
,
Peter Danemo
,
2015/01/26
Re: Ritardando and accelerando
,
Kevin Barry
,
2015/01/26
Message not available
Re: Ritardando and accelerando
,
Kevin Barry
,
2015/01/26
Re: Ritardando and accelerando
,
Peter Danemo
,
2015/01/27
Re: Ritardando and accelerando
,
Noeck
,
2015/01/27
Re: Ritardando and accelerando
,
Peter Danemo
,
2015/01/27
Re: Ritardando and accelerando
,
Noeck
,
2015/01/27
Re: Ritardando and accelerando
,
Peter Danemo
,
2015/01/27
Re: Ritardando and accelerando
,
Pierre Perol-Schneider
<=
Re: Ritardando and accelerando
,
Peter Danemo
,
2015/01/27
Re: Ritardando and accelerando
,
Thomas Morley
,
2015/01/27
Re: Ritardando and accelerando
,
Pierre Perol-Schneider
,
2015/01/28
Re: Ritardando and accelerando
,
Thomas Morley
,
2015/01/27
Prev by Date:
Re: sus7 chords in \chordmode
Next by Date:
Re: Ritardando and accelerando
Previous by thread:
Re: Ritardando and accelerando
Next by thread:
Re: Ritardando and accelerando
Index(es):
Date
Thread