summaryrefslogtreecommitdiff
path: root/input/regression/retrograde.ly
blob: dd7f7eba95487f246f80c5324553fe06ca313f14 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\version "2.18.0"

\header {
  texidoc = "@code{\\retrograde} can deal with crescendo and
  decrescendo as long as they are properly paired with
  @code{\\endcr}/@code{\\!} and @code{\\enddecr}.  Direction modifiers
  on slurs like @code{^(} need to be repeated as @code{^)} at the end.
  Ties and glissandi work mostly (in-chord ties are turned into
  ordinary per-chord/note ties, however)."
}

\layout { ragged-right = ##t }

motif =
\relative {
  \override TextSpanner.bound-details.left.text = "motif"
  <c' e>2~\startTextSpan  c16\< d^( e f~ f4:32^)\!\> |
  <<
    \context Voice = "voice" {
      <g~ b>4 g8\glissando f\stopTextSpan\enddecr }
    \\
    { c2 }
  >>
}

\new Voice = "voice" {
  \motif
  \override TextSpanner.bound-details.left.text = "retrograde motif"
  \retrograde  \motif \bar "|."
}