]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
index d447a6e41949588b9c5d4838c254aadb4b6e9fd3..153f4b87e1c5440212463d5fdc6b8dd8be53f6dd 100644 (file)
@@ -1,36 +1,48 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-%% Tags: pitches
-\version "2.11.35"
-
-\header { texidoc = "
-In early XXth century works, starting with Schönberg, Berg and Webern
-(the \"second\" Viennese school), every pitch in the twelve- note scale
-has to be regarded as equal, without any hierarchy such as the
-classical (tonal) degrees. Therefore, these composers print one
-accidental for each note, even at natural pitches, to emphasize their
-new approach to music theory and language. This snippet shows how to
-achieve such notation rules with LilyPond.
-" }
-% begin verbatim
-% thanks to Rune Zedeler for this cool function :)
-
-webernAccidentals = {
-    % the 5s are just "a value different from any accidental"
-    \set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5)
-                                 (4 . 5) (5 . 5) (6 . 5))
-    \set Staff.extraNatural = ##f
-    #(set-accidental-style 'forget)
-}
+\version "2.11.62"
+
+\header {
+  doctitlees = "Alteraciones de estilo dodecafónico para todas las notas, incluidas las naturales"
+  texidoces = "
+En las obras de principios del s.XX, empezando por Schoenberg, Berg y
+Webern (la \"Segunda\" escuela de Viena), cada nota de la escala de
+doce tonos se debe tratar con igualdad, sin ninguna jerarquía como los
+grados clásicos tonales.  Por tanto, estos compositores imprimen una
+alteración accidental para cada nota, incluso en las notas naturales,
+para enfatizar su nuevo enfoque de la teoría y el lenguaje musicales.
+
+Este fragmento de código muestra cómo conseguir dichas reglas de
+notación.
+
+"
+
+
+  lsrtags = "pitches"
+  texidoc = "In early 20th century works, starting with Schoenberg,
+Berg and Webern (the \"Second\" Viennese school), every pitch in the
+twelve-tone scale has to be regarded as equal, without any hierarchy
+such as the classical (tonal) degrees.  Therefore, these composers
+print one accidental for each note, even at natural pitches, to
+emphasize their new approach to music theory and language.
+
+This snippet shows how to achieve such notation rules. 
+"
+
+  doctitle = "Dodecaphonic-style accidentals for each note including naturals"
+} % begin verbatim
 
-\layout {
-  \context { \Staff \remove Key_engraver }
-}
 \score {
-  {
-    \webernAccidentals
-    c' dis' cis' cis'
-    c' dis' cis' cis'
-    c' c' dis' des'
+  \new Staff {
+    #(set-accidental-style 'dodecaphonic)
+    c'4 dis' cis' cis'
+    c'4 dis' cis' cis'
+    c'4 c' dis' des'
+  }
+  \layout {
+    \context {
+    \Staff
+    \remove "Key_engraver"
+    }
   }
 }