]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/shape-other-curves.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / shape-other-curves.ly
1 \version "2.17.6"
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 #'((0 . -2) (-1 . 3.5) (0.5 . 0.5) (0 . -2.5)) PhrasingSlur
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 #'(() ((0 . -0.9) (0 . -0.5) (0 . -0.5) (0 . -0.9))) Tie
29   cis~
30   \break
31   cis
32   \break
33
34   % LaissezVibrerTie
35   c\laissezVibrer
36   \override LaissezVibrerTie.color = #blue
37   \shape #'((0 . 0) (0.5 . 0.2) (1.5 . 0.2) (2 . 0)) LaissezVibrerTie
38   c\laissezVibrer
39   \break
40
41   % RepeatTie
42   c\repeatTie
43   \override RepeatTie.color = #blue
44   \shape #'((-1 . 0) (-0.7 . 0) (-0.3 . 0) (0 . 0)) RepeatTie
45   c\repeatTie
46 }