lilypond-user
[Top][All Lists]
Advanced

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

Re: Looking for inter-note ornament


From: Timothy Lanfear
Subject: Re: Looking for inter-note ornament
Date: Mon, 31 Dec 2018 14:42:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Maybe you could use the breath mark with the symbol redefined to scripts.upbow. http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-curves#breath-marks


On 31/12/2018 14:28, Helge Kruse wrote:
Am 31.12.2018 um 14:56 schrieb Helge Kruse:
It would be perfect to place them in the middle
between the two notes but in the same y-position like the finger
numbers.
I found that this can be entered with two variables:

raus = \once -\tweak Script.X-offset #-2 \upbow
aus = \once -\tweak Script.X-offset #-1 \upbow

The piece has a first movement with a quarter and eighth notes and a
second with eighth and sixteenth notes. I needed to adjust the X offset
differently depending from the overall beat of the movement. So I use
one variable for the slow part the other for the fast part:


common = { \time 3/4 }
slowMovement = \relative c'' {
    a4.-3\! g8\raus-4 b-3 c-2 |
    d4.-1 s4. s2. s s s \bar "||"  }
fastMovement = \relative c'' {
    d8-2 d16-2\aus g-1 f-2 e-3 d8-4 d16-2\aus f-1 e-2 c-3 |
    s2. s s s s  }

\score {
   \new Staff { \common \slowMovement \break \fastMovement }
}


This doesn't place the ornament exactly in the middle between the notes
and the names "aus" and "raus" are not very intuitive. But this allows
sufficient tweaking of the X-offset without spreading many code into the
notes.


Thank you, and
Happy New Year!

Helge

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

--
Timothy Lanfear, Bristol, UK.




reply via email to

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