]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/chord-modifiers-init.ly
(conv): add 2.2.0 rule.
[lilypond.git] / ly / chord-modifiers-init.ly
index dd82fdb331726323673d30e4a8414b9403e13bb0..3e528ae1b6a8deeae9931f3ff1db5d2b96a164f9 100644 (file)
@@ -1,17 +1,39 @@
-\version "1.3.146"
-
-% urg!
-%
-\chordmodifiers #`(
-       (m . ,(make-pitch 0 2 -1 ))
-       (min . ,(make-pitch 0 2 -1 ))
-       (aug . ,(make-pitch 0 4 1 ))
-       ;; (dim . ,(make-pitch -100 4 -1 ))     
-       (dim . ,(make-pitch -100 2 -1 ))
-       ;; urg, not actually a chord-modifier, but it works
-       ;;  c7 -> <c bes>, c 7+ -> c b
-       (maj . ,(make-pitch 0 6 1 ))
-       ;; sus4 should delete 2 too...
-       (sus . ,(make-pitch 0 3 0 ))
-)
+\version "2.1.36"
 
+chordmodifiers = #default-chord-modifier-list
+
+whiteTriangleMarkup = #(make-override-markup
+                       '(font-encoding . math) (make-simple-markup "M"))
+
+blackTriangleMarkup = #(make-override-markup
+                       '(font-encoding . math) (make-simple-markup "N"))
+
+ignatzekExceptionMusic = \notes{
+       <c e gis>1-\markup { "+" }
+       <c es ges>-\markup { \super "o" } % should be $\circ$ ?
+       <c es ges bes>-\markup { \super \combine "o" "/" }
+       <c es ges beses>-\markup { \super  "o7" }
+}
+
+ignatzekExceptions = #(sequential-music-to-chord-exceptions
+                      ignatzekExceptionMusic #t)
+
+partialJazzMusic = \notes{
+    <c d>1-\markup { \normal-size-super "2" }
+    <c es>-\markup { "m" }
+    <c f>-\markup { \normal-size-super "sus4" }
+    <c g>-\markup { \normal-size-super "5" }
+    
+    %% TODO, partial exceptions
+    <c es f>-\markup { "m" }-\markup { \normal-size-super "sus4" }
+    <c d es>-\markup { "m" }-\markup { \normal-size-super "sus2" }
+}
+
+%% TODO: compatibility ignatzek code
+fullJazzExceptions = #(sequential-music-to-chord-exceptions
+                       ignatzekExceptionMusic #f)
+
+partialJazzExceptions = #(sequential-music-to-chord-exceptions
+                          partialJazzMusic #f)
+
+