[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
global accel./rit./string. with TextSpanner
From: |
Wolfgang Suppan |
Subject: |
global accel./rit./string. with TextSpanner |
Date: |
Mon, 5 Mar 2007 08:54:01 -0800 (PST) |
hi,
I'm adding a global voice for global (all instruments/voices in the score)
tempo changes like accel. or rit. with a TextSpanner to indicate with a
dashed line the duration of the modifycation. this work somehow ( a little
bit tricky using padding to bring the tempo mark and the TextSpanner on the
same Y-level)
my example below shows what happens when I use RemoveEmptyStaffContext...–
the TextSpanner disappear when the upper voice is not visible – only the
tempomark.
1. is there solution with TextSpanner and RemoveEmptyStaffContext
2. would it be better to add a new dashed-line-extention-possibilty for:
\mark "accel." (duration of the dashed line could be specified like 1*3 = 3
whole notes...)
thanks,
wolfgang suppan
%%%start
\version "2.10.20"
% bar1 tempo = 60 accel._ _
% bar2 (accel.)_ _ _
% bar3 (accel.)_ _ _
% bar4 tempo = 80 rit._ _ _
% bar5 tempo = 60
global = {
\override TextSpanner #'shorten-pair = #'(4 . 5)
\override TextSpanner #'Y-offset = #7.9
%\override TextSpanner #'font-size = #1
\override TextSpanner #'font-shape = #'upright
\override Score.MetronomeMark #'padding = #5.5
\tempo 4 = 60
\once \override TextSpanner #'edge-text = #(cons (markup #:line ("accel."
#:hspace 0.0)) "")
s1 \startTextSpan \break
s \break
\once \override Score.MetronomeMark #'padding = #5.5
\tempo 4 = 80
\once \override TextSpanner #'edge-text = #(cons (markup #:line ("rit."
#:hspace 0.0)) "")
s \stopTextSpan \startTextSpan \break
s \break
\tempo 4 = 60
s \stopTextSpan}
musica = {a''1 a'' R R a''}
musicb = {b'1 R b' R b'}
musicc = {c'1 R R c' c'}
\score {
<<
\new Staff {<< \global \musica >>}
\new Staff \musicb
\new Staff \musicc
>>
\layout {
\context { \RemoveEmptyStaffContext } %remove this line to compare the
result
}
}
%%%end
--
View this message in context:
http://www.nabble.com/global-accel.-rit.-string.-with-TextSpanner-tf3350107.html#a9315429
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- global accel./rit./string. with TextSpanner,
Wolfgang Suppan <=