X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fchord-modifiers-init.ly;h=4f7483fc99c42fff8c1d0bff872fd56cf8c6ea0a;hb=6c2de98014c851eb35328fd1fa10346c2d1e55e5;hp=858eba1e61baa56e9142f4acf0c703fe9e294204;hpb=0765bc3627f7f9de37595193b62ea8c0990a91ac;p=lilypond.git diff --git a/ly/chord-modifiers-init.ly b/ly/chord-modifiers-init.ly index 858eba1e61..4f7483fc99 100644 --- a/ly/chord-modifiers-init.ly +++ b/ly/chord-modifiers-init.ly @@ -1,60 +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)) - - - %% need to have symbol; can't deal with TTF yet. - %\override #'(font-name . "Symbol") + %#(ly:wide-char->utf-8 #x0394) %% 2206 : delta from the symbol font. - % #(ly:export (ly:wide-char->utf-8 #x2206)) - + % #(ly:wide-char->utf-8 #x2206) + %% up pointing triangle - % #(ly:export (ly:wide-char->utf-8 #x25B3)) - - %% \override #'(font-encoding . TeX-math) \char #77 -} + % #(ly:wide-char->utf-8 #x25B3) +} blackTriangleMarkup = \markup { + \triangle ##t %% black up pointing triangle - #(ly:export (ly:wide-char->utf-8 #x25B2)) +% #(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)