]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 1503 - add support for "altered" jazz chord (super-Locrian)
authorAdam Spiers <lilypond@adamspiers.org>
Tue, 1 Nov 2011 18:29:31 +0000 (18:29 +0000)
committerAdam Spiers <lilypond@adamspiers.org>
Tue, 29 Nov 2011 11:04:45 +0000 (11:04 +0000)
Documentation/included/chord-names-jazz.ly
input/regression/chords-funky-ignatzek.ly
ly/chord-modifiers-init.ly

index fdf49e9afa8f8fbaecd62990a727fca5725cdb86..5ef6039053b4121503491cae2598ffd71c4fd085 100644 (file)
@@ -15,51 +15,52 @@ are turned off for brevity.
 
 chs =  \transpose c' c'
 {
-       <c e g>1
-       <c es g>% m = minor triad
-       <c e gis>
-       <c es ges> \break
-       <c e g bes>
-       <c es g bes>
-       <c e g b>               % triangle = maj
-       <c es ges beses>
-       <c es ges b> \break
-       <c e gis bes>
-       <c es g b>
-       <c e gis b>
-       <c es ges bes>\break
-       <c e g a>   % 6 = major triad with added sixth
-       <c es g a>  % m6 = minor triad with added sixth
-       <c e g bes d'>
-       <c es g bes d'> \break
-       <c es g bes d' f' a' >
-       <c es g bes d' f' >
-       <c es ges bes d' >
-       <c e g bes des' > \break
-       <c e g bes dis'>
-       <c e g bes d' f'>
-       <c e g bes d' fis'>
-       <c e g bes d' f' a'>\break
-       <c e g bes d' fis' as'>
-       <c e gis bes dis'>
-       <c e g bes dis' fis'>
-       <c e g bes d' f' as'>\break
-       <c e g bes des' f' as'>
-       <c e g bes d' fis'>
-       <c e g b d'>
-       <c e g bes d' f' as'>\break
-       <c e g bes des' f' as'>
-       <c e g bes des' f' a'>
-       <c e g b d'>
-       <c e g b d' f' a'>\break
-       <c e g b d' fis'>
-       <c e g bes des' f ' a'>
-       <c f g>
-       <c f g bes>\break
-       <c f g bes d'>
-       <c e g d'>      % add9
-       <c es g f'>
-       <c e g b fis'>  % Lydian
+    <c e g>1
+    <c es g>% m = minor triad
+    <c e gis>
+    <c es ges> \break
+    <c e g bes>
+    <c es g bes>
+    <c e g b>           % triangle = maj
+    <c es ges beses>
+    <c es ges b> \break
+    <c e gis bes>
+    <c es g b>
+    <c e gis b>
+    <c es ges bes>\break
+    <c e g a>   % 6 = major triad with added sixth
+    <c es g a>  % m6 = minor triad with added sixth
+    <c e g bes d'>
+    <c es g bes d'> \break
+    <c es g bes d' f' a' >
+    <c es g bes d' f' >
+    <c es ges bes d' >
+    <c e g bes des' > \break
+    <c e g bes dis'>
+    <c e g bes d' f'>
+    <c e g bes d' fis'>
+    <c e g bes d' f' a'>\break
+    <c e g bes d' fis' as'>
+    <c e gis bes dis'>
+    <c e g bes dis' fis'>
+    <c e g bes d' f' as'>\break
+    <c e g bes des' f' as'>
+    <c e g bes d' fis'>
+    <c e g b d'>
+    <c e g bes d' f' as'>\break
+    <c e g bes des' f' as'>
+    <c e g bes des' f' a'>
+    <c e g b d'>
+    <c e g b d' f' a'>\break
+    <c e g b d' fis'>
+    <c e g bes des' f ' a'>
+    <c f g>
+    <c f g bes>\break
+    <c f g bes d'>
+    <c e g d'>  % add9
+    <c es g f'>
+    <c e g b fis'>  % Lydian
+    <c e g bes des' ees' fis' aes'>  % altered chord
 }
 
 
@@ -69,9 +70,11 @@ chs =  \transpose c' c'
 efullmusicJazzAlt =
 {
     <c e gis>1-\markup { "+" }
-    <c e g b>-\markup { \normal-size-super
-    %                    \override #'(font-family . math) "N" }
-                         \override #'(font-family . math) "M" }
+    <c e g b>-\markup {
+      \normal-size-super
+    % \override #'(font-family . math) "N"
+      \override #'(font-family . math) "M"
+    }
     %%c:3.5.7 = \markup { \override #'(font-family . math) "M" }
     %%c:3.5.7 = \markup { \normal-size-super "maj7" }
 
@@ -104,50 +107,50 @@ jazzAltProperties = \sequential {
 }
 
 banterProperties = \sequential {
-           \set chordNameFunction = #banter-chord-names
+    \set chordNameFunction = #banter-chord-names
 }
 
 \score{
     <<
-       \new ChordNames {
-           \set instrumentName = #"Ignatzek (default)"
-           \set shortInstrumentName = #"Def"
-           \chs
-       }
-
-       \new ChordNames {
-           \jazzAltProperties
-           \set instrumentName = #"Alternative"
-           \set shortInstrumentName = #"Alt"
-           \chs
-       }
+        \new ChordNames {
+            \set instrumentName = #"Ignatzek (default)"
+            \set shortInstrumentName = #"Def"
+            \chs
+        }
+
+        \new ChordNames {
+            \jazzAltProperties
+            \set instrumentName = #"Alternative"
+            \set shortInstrumentName = #"Alt"
+            \chs
+        }
 
 %{
 
-       %% This is the Banter (1987) style.  It gives exceedingly
-       %% verbose (wide) names, making the output file take up to 4 pages.
-       %% (TODO: how big is is now?)
-       %% Turned off by default.
+        %% This is the Banter (1987) style.  It gives exceedingly
+        %% verbose (wide) names, making the output file take up to 4 pages.
+        %% (TODO: how big is is now?)
+        %% Turned off by default.
 
-       %% TODO: use smaller font for Banter (or remove some esoteric
-       %% chords).
+        %% TODO: use smaller font for Banter (or remove some esoteric
+        %% chords).
 
-       \new ChordNames {
-           \banterProperties
-           \set instrumentName = #"Banter"
-           \set shortInstrumentName = #"Ban"
-           \chs
-       }
+        \new ChordNames {
+            \banterProperties
+            \set instrumentName = #"Banter"
+            \set shortInstrumentName = #"Ban"
+            \chs
+        }
 %}
 
-       \new Staff  \transpose c c' { \chs }
+        \new Staff  \transpose c c' { \chs }
     >>
     \layout {
-       indent = 3.\cm
-       \context {
-           \ChordNames
-           \consists Instrument_name_engraver
-       }
+        indent = 3.\cm
+        \context {
+            \ChordNames
+            \consists Instrument_name_engraver
+        }
     }
 }
 
index c1545c03ded875c93cd5180900d87ed282dde9b2..7cda44e612ee7592d079aed558ca52801226a6e8 100644 (file)
@@ -21,6 +21,7 @@ chs =
 <c e g a bes>1
 <c e g a d'>1
 <c e g b fis'>1
+<c e g bes des' ees' fis' aes'>1
 }
 
 
index 15b54b559c29be14a938f2e0062055a5f0d454c5..1041e88c7206b06de98f94ce9379cd49501070dd 100644 (file)
@@ -31,6 +31,7 @@ ignatzekExceptionMusic = {
   }
   <c es ges beses>-\markup { \super  "o7" }
   <c e g b fis'>-\markup { \super "lyd" } % Lydian
+  <c e g bes des' ees' fis' aes'>-\markup { \super "alt" } % altered chord (super-Locrian)
 }
 
 partialJazzMusic = {