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