]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / input / lsr / dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.48"
4
5 \header {
6   lsrtags = "pitches"
7
8   texidoc = "
9 In early 20th century works, starting with Schoenberg, Berg and Webern
10 (the \"Second\" Viennese school), every pitch in the twelve-tone scale
11 has to be regarded as equal, without any hierarchy such as the
12 classical (tonal) degrees. Therefore, these composers print one
13 accidental for each note, even at natural pitches, to emphasize their
14 new approach to music theory and language.
15
16 This snippet shows how to achieve such notation rules. 
17
18 "
19   doctitle = "Dodecaphonic-style accidentals for each note including naturals"
20 } % begin verbatim
21 webernAccidentals = {
22   % the 5s are just "a value different from any accidental"
23   \set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5)
24                                (4 . 5) (5 . 5) (6 . 5))
25   \set Staff.extraNatural = ##f
26   #(set-accidental-style 'forget)
27 }
28
29 \score {
30   {
31     \webernAccidentals
32     c'4 dis' cis' cis'
33     c'4 dis' cis' cis'
34     c'4 c' dis' des'
35   }
36   \layout {
37     \context {
38     \Staff
39     \remove "Key_engraver"
40     }
41   }
42 }