]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/chord-name-exceptions.ly
Merge commit 'csorensen/fret-diagram-details'
[lilypond.git] / input / lsr / chord-name-exceptions.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.49"
4
5 \header {
6   lsrtags = "chords"
7
8   texidoc = "
9 The property @code{chordNameExceptions} can be used to store a list of
10 special notations for specific chords. 
11
12 "
13   doctitle = "Chord name exceptions"
14 } % begin verbatim
15 % modify maj9 and 6(add9)
16 % Exception music is chords with markups
17 chExceptionMusic = {
18   <c e g b d'>1-\markup { \super "maj9" }
19   <c e g a d'>1-\markup { \super "6(add9)" }
20 }
21
22 % Convert music to list and prepend to existing exceptions.
23 chExceptions = #( append
24   ( sequential-music-to-chord-exceptions chExceptionMusic #t)
25   ignatzekExceptions)
26
27 theMusic = \chordmode {
28   g1:maj9 g1:6.9
29   \set chordNameExceptions = #chExceptions
30   g1:maj9 g1:6.9
31 }
32
33 \layout {
34   ragged-right = ##t 
35 }
36
37 << \context ChordNames \theMusic
38    \context Voice \theMusic
39 >>