]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/accidental-contemporary.ly
926c9ffc62328acf348ebaed52a5fdf4b1803b1a
[lilypond.git] / input / regression / accidental-contemporary.ly
1 \version "2.11.57"
2 \header {
3
4 texidoc = "Several automatic accidental rules
5 aim to reproduce contemporary music notation
6 practices:
7 @itemize
8 @item
9 'dodecaphonic style prints accidentals on every
10 note (including naturals)
11 @item
12 'neo-modern style prints accidentals on every note
13 (not including naturals), except when a note is
14 immediately repeated
15 @item
16 'neo-modern-cautionary style acts like neo-modern,
17 adding cautionary parentheses around accidentals.
18 @end itemize
19
20 Both scores should show the same accidentals.
21 "
22
23 }
24
25 \layout { ragged-right = ##t }
26
27 \score {
28   \relative c'' {
29     #(set-accidental-style 'dodecaphonic)
30     gis4 a g gisis
31     #(set-accidental-style 'neo-modern)
32     gis8 a gis gis g' gis gis,, a'
33     #(set-accidental-style 'neo-modern-cautionary)
34     eis fis eis eis g2
35   }
36 }
37
38 \score {
39   \relative c'' {
40     \set Staff.autoAccidentals = #'()
41     \set Staff.autoCautionaries = #'()
42     gis!4 a! g! gisis!
43     gis!8 a gis! gis g'! gis! gis,,! a'
44     eis! fis! eis? eis g?2
45   }
46 }