]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/chord-name-exceptions.ly
resolve merge
[lilypond.git] / Documentation / snippets / chord-name-exceptions.ly
diff --git a/Documentation/snippets/chord-name-exceptions.ly b/Documentation/snippets/chord-name-exceptions.ly
new file mode 100644 (file)
index 0000000..9a32fbd
--- /dev/null
@@ -0,0 +1,63 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "chords"
+
+%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
+  texidoces = "
+Se puede usar la propiedad @code{chordNameExceptions} para
+almacenar una lista de notaciones espaciales para acordes
+específicos.
+
+"
+  doctitlees = "Excepciones para los nombres de acorde"
+
+
+%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
+  texidocde = "
+Die Eigenschaft @code{chordNameExceptions} kann benutzt werden, um eine
+Liste an besonderen Notationen für bestimmte Akkorde zu speichern.
+
+"
+  doctitlede = "Akkordsymbolausnahmen"
+
+  texidoc = "
+The property @code{chordNameExceptions} can be used to store a list of
+special notations for specific chords.
+
+"
+  doctitle = "Chord name exceptions"
+} % begin verbatim
+
+% modify maj9 and 6(add9)
+% Exception music is chords with markups
+chExceptionMusic = {
+  <c e g b d'>1-\markup { \super "maj9" }
+  <c e g a d'>1-\markup { \super "6(add9)" }
+}
+
+% Convert music to list and prepend to existing exceptions.
+chExceptions = #( append
+  ( sequential-music-to-chord-exceptions chExceptionMusic #t)
+  ignatzekExceptions)
+
+theMusic = \chordmode {
+  g1:maj9 g1:6.9
+  \set chordNameExceptions = #chExceptions
+  g1:maj9 g1:6.9
+}
+
+\layout {
+  ragged-right = ##t
+}
+
+<< \context ChordNames \theMusic
+   \context Voice \theMusic
+>>
+