]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/shape-slurs.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / shape-slurs.ly
1 \version "2.17.6"
2
3 \header {
4   texidoc = "The control points of a broken or unbroken slur may be offset by
5 @code{\\shape}.  The blue slurs are modified from the default slurs shown first."
6 }
7
8 \layout {
9   indent = 0
10   ragged-right = ##t
11 }
12
13 % unmodified
14 \relative c'' {
15   d4( d' b g
16   g,8 f' e d c2)
17   d4( d' b g
18   \break
19   g,8 f' e d c2)
20 }
21
22 % modified
23 \relative c'' {
24   \override Slur.color = #blue
25   \shape #'((0 . -2) (-1 . 3.5) (0.5 . 0.5) (0 . -2.5)) Slur
26   d4( d' b g g,8  f' e d c2)
27   \shape #'(
28    ((0 . -2.5) (0 . 1.5) (0 . 1) (0 . -0.5))
29    ((1 . 2.5) (0 . 1.5) (0 . 1) (0 . 0))
30   ) Slur
31   d4( d' b g
32   \break
33   g,8 f' e d c2)
34 }