]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/chord-modifiers-init.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / ly / chord-modifiers-init.ly
index ac3c2a15683f021774a8717d5587284d9ec92a90..b7338bf9d57ef52f2a94c71581cfb34e629a48df 100644 (file)
@@ -1,17 +1,39 @@
-\version "1.5.49"
-
-% 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.26"
 
+chordmodifiers = #default-chord-modifier-list
+
+whiteTriangleMarkup = #(make-override-markup
+                       '(font-family . math) (make-simple-markup "M"))
+
+blackTriangleMarkup = #(make-override-markup
+                       '(font-family . 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)
+
+