]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/screech-boink.ly
8a8387f3e0a3fc2f5acb3a19f660e2a6bb8adc55
[lilypond.git] / Documentation / snippets / screech-boink.ly
1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.36
5 \version "2.13.40"
6 \header {
7   lsrtags = "headwords"
8   texidoc = "Random complex notation"
9   doctitle = "Screech and Boink"
10 } % begin verbatim
11
12
13 \score {
14   \context PianoStaff <<
15     \new Staff = "up" {
16       \time 4/8
17       \key c \minor
18       <<
19         {
20           \revert Stem #'direction
21           \change Staff = down
22           \set subdivideBeams = ##t
23           g16.[
24           \change Staff = up
25           c'''32
26           \change Staff = down
27           g32
28           \change Staff = up
29           c'''32
30           \change Staff = down
31           g16]
32           \change Staff = up
33           \stemUp
34           \set followVoice = ##t
35           c'''32([ b''16 a''16 gis''16 g''32)]
36         }
37         \\
38         { s4 \times 2/3 { d'16[ f' g'] } as'32[ b''32 e'' d''] }
39         \\
40         { s4 \autoBeamOff d''8.. f''32  }
41         \\
42         { s4 es''4 }
43       >>
44     }
45     \new Staff = "down" {
46       \clef bass
47       \key c \minor
48       \set subdivideBeams = ##f
49       \override Stem #'french-beaming = ##t
50       \override Beam #'beam-thickness = #0.3
51       \override Stem #'thickness = #4.0
52       g'16[ b16 fis16 g16]
53       <<
54         \makeClusters {
55           as16 <as b> <g b> <g cis>
56         }
57         \\
58         {
59           \override Staff.Arpeggio #'arpeggio-direction = #DOWN
60           <cis, e, gis, b, cis>4\arpeggio
61         }
62       >>
63     }
64   >>
65   \midi {
66     \context {
67       \Score
68       tempoWholesPerMinute = #(ly:make-moment 60 8)
69     }
70   }
71   \layout {
72     ragged-right = ##t
73     \context {
74       \Staff
75       \consists "Horizontal_bracket_engraver"
76     }
77   }
78 }