]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/shape-other-curves.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / shape-other-curves.ly
1 \version "2.16.0"
2
3 \header {
4   texidoc = "In addition to @code{Slur}, the music function @code{\\shape} works
5 with @code{PhrasingSlur}, @code{Tie}, @code{LaissezVibrerTie}, and @code{RepeatTie}.
6 Each is shown below, first unmodified and then (in blue) after application of the
7 function."
8 }
9
10 \layout {
11   indent = 0
12   ragged-right = ##t
13 }
14
15 \relative c'' {
16   % PhrasingSlur
17   d4\( d' b g g,8 f' e d c2\)
18   \override PhrasingSlur #'color = #blue
19   \shape PhrasingSlur #'((0 . -2) (-1 . 3.5) (0.5 . 0.5) (0 . -2.5))
20   d4\( d' b g g,8 f' e d c2\)
21   \break
22
23   % Tie
24   cis1~
25   \break
26   cis
27   \override Tie #'color = #blue
28   \shape Tie #'(() ((0 . -0.9) (0 . -0.5) (0 . -0.5) (0 . -0.9)))
29   cis~
30   \break
31   cis
32   \break
33
34   % LaissezVibrerTie
35   c\laissezVibrer
36   \override LaissezVibrerTie #'color = #blue
37   \shape LaissezVibrerTie #'((0 . 0) (0.5 . 0.2) (1.5 . 0.2) (2 . 0))
38   c\laissezVibrer
39   \break
40
41   % RepeatTie
42   c\repeatTie
43   \override RepeatTie #'color = #blue
44   \shape RepeatTie #'((-1 . 0) (-0.7 . 0) (-0.3 . 0) (0 . 0))
45   c\repeatTie
46 }