X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fchord-modifiers-init.ly;h=4f7483fc99c42fff8c1d0bff872fd56cf8c6ea0a;hb=b872748c6aa8bb721ced458691b38ac2fac5dfc8;hp=c0713a26d28750f0d46c3b2564ee50fe751214a0;hpb=9389b4ec63bfad5cce94fe8563f0ca85e64dd9b4;p=lilypond.git diff --git a/ly/chord-modifiers-init.ly b/ly/chord-modifiers-init.ly index c0713a26d2..4f7483fc99 100644 --- a/ly/chord-modifiers-init.ly +++ b/ly/chord-modifiers-init.ly @@ -1,59 +1,65 @@ -\version "2.4.0" +\version "2.16.0" chordmodifiers = #default-chord-modifier-list whiteTriangleMarkup = \markup { + \triangle ##f %% 394 capital delta - %% #(ly:export (ly:wide-char->utf-8 #x0394)) + %#(ly:wide-char->utf-8 #x0394) - %% up pointing triangle - %% #(ly:export (ly:wide-char->utf-8 #x25B3)) - - FIXME - - %% \override #'(font-encoding . TeX-math) \char #77 + %% 2206 : delta from the symbol font. + % #(ly:wide-char->utf-8 #x2206) -} + %% up pointing triangle + % #(ly:wide-char->utf-8 #x25B3) +} blackTriangleMarkup = \markup { + \triangle ##t %% black up pointing triangle - %% #(ly:export (ly:wide-char->utf-8 #x25B2)) - FIXME - - %% \override #'(font-encoding . TeX-math) \char #78 } +% #(ly:wide-char->utf-8 #x25B2) } ignatzekExceptionMusic = { - 1-\markup { "+" } - -\markup { \super "o" } % should be $\circ$ ? - -\markup { - %% f8 is o with slash. - \super #(ly:export (ly:wide-char->utf-8 #x00f8)) - } - -\markup { \super "o7" } + 1-\markup { "+" } + -\markup { \super "o" } % should be $\circ$ ? + -\markup { + %% f8 is o with slash. + \normal-size-super #(ly:wide-char->utf-8 #x00f8) + } + -\markup { \super "o7" } + -\markup { \super "lyd" } % Lydian + -\markup { \super "alt" } % altered chord (super-Locrian) } -ignatzekExceptions = #(sequential-music-to-chord-exceptions - ignatzekExceptionMusic #t) - partialJazzMusic = { - 1-\markup { \normal-size-super "2" } - -\markup { "m" } - -\markup { \normal-size-super "sus4" } - -\markup { \normal-size-super "5" } - - %% TODO, partial exceptions - -\markup { "m" }-\markup { \normal-size-super "sus4" } - -\markup { "m" }-\markup { \normal-size-super "sus2" } + 1-\markup { \normal-size-super "2" } + -\markup { "m" } + -\markup { \normal-size-super "sus4" } + -\markup { \normal-size-super "5" } + + %% TODO, partial exceptions + -\markup { "m" }-\markup { \normal-size-super "sus4" } + -\markup { "m" }-\markup { \normal-size-super "sus2" } +} + +powerChordSymbol = { + -\markup { \normal-size-super "5" } + 1-\markup { \normal-size-super "5" } } + %% TODO: compatibility ignatzek code -fullJazzExceptions = #(sequential-music-to-chord-exceptions - ignatzekExceptionMusic #f) +fullJazzExceptions= +#(sequential-music-to-chord-exceptions ignatzekExceptionMusic #f) + +partialJazzExceptions= +#(sequential-music-to-chord-exceptions partialJazzMusic #f) -partialJazzExceptions = #(sequential-music-to-chord-exceptions - partialJazzMusic #f) +powerChordExceptions = +#(sequential-music-to-chord-exceptions powerChordSymbol #t) - +ignatzekExceptions = +#(sequential-music-to-chord-exceptions ignatzekExceptionMusic #t)