]> git.donarmstrong.com Git - lilypond.git/blob - ly/chord-modifiers-init.ly
Issue 1503 - Recognise Lydian chords
[lilypond.git] / ly / chord-modifiers-init.ly
1 \version "2.15.18"
2
3 chordmodifiers = #default-chord-modifier-list
4
5
6 whiteTriangleMarkup = \markup {
7   \triangle ##f
8   %%  394 capital delta
9   %$(ly:wide-char->utf-8 #x0394)
10
11   %% 2206 : delta from the symbol font.
12   %   $(ly:wide-char->utf-8 #x2206)
13   
14   %% up pointing triangle
15   % $(ly:wide-char->utf-8 #x25B3)
16
17
18 blackTriangleMarkup = \markup {
19   \triangle ##t
20
21   %% black up pointing triangle
22 %  $(ly:wide-char->utf-8 #x25B2)
23 }
24
25 ignatzekExceptionMusic = {
26   <c e gis>1-\markup { "+" }
27   <c es ges>-\markup { \super "o" } % should be $\circ$ ?
28   <c es ges bes>-\markup {
29     %%  f8 is o with slash.
30     \normal-size-super $(ly:wide-char->utf-8 #x00f8)
31   }
32   <c es ges beses>-\markup { \super  "o7" }
33   <c e g b fis'>-\markup { \super "lyd" } % Lydian
34 }
35
36 partialJazzMusic = {
37   <c d>1-\markup { \normal-size-super "2" }
38   <c es>-\markup { "m" }
39   <c f>-\markup { \normal-size-super "sus4" }
40   <c g>-\markup { \normal-size-super "5" }
41
42   %% TODO, partial exceptions
43   <c es f>-\markup { "m" }-\markup { \normal-size-super "sus4" }
44   <c d es>-\markup { "m" }-\markup { \normal-size-super "sus2" }
45 }
46
47 powerChordSymbol = {
48   <c g>-\markup { \normal-size-super "5" }
49   <c g c'>1-\markup { \normal-size-super "5" }
50 }
51
52
53 %% TODO: compatibility ignatzek code
54 fullJazzExceptions=
55 #(sequential-music-to-chord-exceptions ignatzekExceptionMusic #f)
56
57 partialJazzExceptions=
58 #(sequential-music-to-chord-exceptions partialJazzMusic #f)
59
60 powerChordExceptions =
61 #(sequential-music-to-chord-exceptions powerChordSymbol #t)
62
63 ignatzekExceptions  =
64 #(sequential-music-to-chord-exceptions ignatzekExceptionMusic #t)