-\version "1.7.6"
+\version "1.7.10"
\header{
texidoc="property chordChanges: only display chord names when
-\version "1.7.6"
+\version "1.7.10"
\header{
texidoc="
Chord names are generated from a list pitches, and are customisable
-\version "1.7.6"
+\version "1.7.10"
\header {
texidoc="Jazz chord names, but with lower case names for minor chords
\score {
<
- \property ChordNames.ChordName \set #'style = #'jazz
+ #(set-chord-name-style 'jazz)
\context ChordNames \chords { c1 c:m c:m7 }
>
}
-\version "1.7.6"
+\version "1.7.10"
\header{
filename = "chord-table.ly"
copyright = "public domain"
-\version "1.7.6"
+\version "1.7.10"
\header{
texidoc="property chordChanges: only display chord names when
-\version "1.7.6"
+\version "1.7.10"
\header{
enteredby = "jcn"
copyright = "public domain"
-\version "1.7.6"
+\version "1.7.10"
\header{
texidoc = "chord/markup test"
}
--- /dev/null
+\version "1.7.10"
+\header {
+ texidoc = "Chord names in american styles, according to one of our users.
+
+
+FIXME
+
+"
+}
+
+\include "english.ly"
+
+
+%%FIXME:
+
+% DON'T do this in the test file, it messes up all other files in the directory.
+
+% #(set! chord::names-alist-american
+% (append
+% '(
+% ;; any changes here, see scm/chord-name.scm
+% )
+% chord::names-alist-american))
+
+scheme = \chords {
+ c % Major triad
+ cs:m % Minor triad
+ df:m5- % Diminished triad
+ c:5^3 % Root-fifth chord
+ c:4^3 % Suspended fourth triad
+ c:5+ % Augmented triad
+ c:2^3 % "2" chord
+ c:m5-.7- % Diminished seventh
+ c:7+ % Major seventh
+ c:7.4^3 % Dominant seventh suspended fourth
+ c:5+.7 % Augmented dominant seventh
+ c:m5-.7 % "Half" diminished seventh
+ c:5-.7 % Dominant seventh flat fifth
+ c:5-.7+ % Major seventh flat fifth
+ c:m7+ % Minor-major seventh
+ c:m7 % Minor seventh
+ c:7 % Dominant seventh
+ c:6 % Major sixth
+ c:m6 % Minor sixth
+ c:9^7 % Major triad w/added ninth
+ c:6.9^7 % Six/Nine chord
+ c:9 % Dominant ninth
+ c:7+.9 % Major ninth
+ c:m7.9 % Minor ninth
+}
+
+\score {
+ \notes <
+ \context ChordNames {
+ #(set-chord-name-style 'american)
+ \scheme
+ }
+ \context Staff \transpose c c' \scheme
+ >
+}
+
+%% new-chords-done %%
--- /dev/null
+\version "1.7.10"
+
+
+\header{
+texidoc = "banter chords
+
+
+FIXME
+
+"
+}
+
+% test German (Banter) naming
+% for more conventional naming, comment scm stuff out
+
+% urg,
+% this shows a serious shortcoming with our guile approach:
+% we can't (easily) display banter/non banter chords alongside
+% eachother. These guile lists are fixed in the guile environment
+% when this file has been parsed...
+
+%{
+
+
+%% FIXME:
+
+#;(define chord::names-alist-banter '())
+#(set! chord::names-alist-banter
+ (append
+ '(
+ (((0 . 0) (2 . -1) (4 . -1)) . (("m" ("5-" . (type . "super")))))
+ Co iso Cm5-7-
+ (((0 . 0) (2 . -1) (4 . -1) (6 . -2)) . ("o" (type "super")))
+ )))
+
+% German note names:
+% Urg, this will break again, in time
+% Is this correct, anyway?
+
+#(define (pitch->text pitch)
+ (if (and (= (modulo (cadr pitch) 7) 6)
+ (= (caddr pitch) -1))
+ (cons (make-string 1 (integer->char 66)) '())
+ (cons
+ (if (= (modulo (cadr pitch) 7) 6)
+ (make-string 1 (integer->char 72))
+ (make-string 1 (integer->char (+ (modulo (+ (cadr pitch) 2) 7) 65))))
+ (if (= (caddr pitch) 0)
+ '()
+ (list (list (string-append "accidentals-"
+ (number->string (caddr pitch)))
+ '(font . "feta")))))))
+
+%}
+
+chord = \notes\transpose c' c''\chords{
+ % dim modifier means: lower all implicit additions
+ c:dim9
+ c:dim
+ c:dim7
+ % explicit additions are taken as entered:
+ c:m5-.7-
+ % note that 7 is a special case: it's always lowered by 1...
+ c:dim7-.9
+ c:dim9-.11
+
+ % test German names
+ b:dim7
+ bes:m5-
+
+ \break
+
+ c:sus2 %?
+ c:sus4
+ c^3
+ c^3.5
+ c:2.6^5
+ c:dim^5-
+ c:dim7^5-
+ cis:m5-
+}
+
+\score{
+ < \context ChordNames {
+ #(set-chord-name-style 'banter)
+ \chord }
+ \context Staff \chord
+ >
+}
+
+%% new-chords-done %%
--- /dev/null
+\version "1.7.10"
+
+
+
+%% This should only be necessary if your kpathsea setup is broken
+%
+% Make sure the correct msamxx.tfm is where lily can find it
+% (ie cwd or lily's tfm dir).
+%
+% For normal (20pt) paper, do
+%
+% cp locate `msam9.tfm` LILYPONDPREFIXxtfm
+%
+
+scheme = \chords {
+ % major chords
+ c
+ c:6 % 6 = major triad with added sixth
+ c:maj % triangle = maj
+ c:6.9^7 % 6/9
+ c:9^7 % add9
+
+ % minor chords
+ c:m % m = minor triad
+ c:m.6 % m6 = minor triad with added sixth
+ c:m.7+ % m triangle = minor major seventh chord
+ c:3-.6.9^7 % m6/9
+ c:m.7 % m7
+ c:3-.9 % m9
+ c:3-.9^7 % madd9
+
+ % dominant chords
+ c:7 % 7 = dominant
+ c:7.5+ % +7 = augmented dominant
+ c:7.5- % 7b5 = hard diminished dominant
+ c:9 % 7(9)
+ c:9- % 7(b9)
+ c:9+ % 7(#9)
+ c:13^9.11 % 7(13)
+ c:13-^9.11 % 7(b13)
+ c:13^11 % 7(9,13)
+ c:13.9-^11 % 7(b9,13)
+ c:13.9+^11 % 7(#9,13)
+ c:13-^11 % 7(9,b13)
+ c:13-.9-^11 % 7(b9,b13)
+ c:13-.9+^11 % 7(#9,b13)
+
+ % half diminished chords
+ c:m5-.7 % slashed o = m7b5
+ c:9.3-.5- % o/7(pure 9)
+
+ % diminished chords
+ c:m5-.7- % o = diminished seventh chord
+}
+
+\score {
+ \notes <
+ \context ChordNames {
+ #(set-chord-name-style 'jazz)
+ \scheme }
+ \context Staff \transpose c c' \scheme
+ >
+}
+%% new-chords-done %%
-\version "1.7.6"
+\version "1.7.10"
\header{
filename = "chord-table.ly"
copyright = "public domain"
-\version "1.7.6"
+\version "1.7.10"
\header {
title="Chord Taxonomy of LilyPond -- jazz"
}
\score {
<
- \property ChordNames.ChordName \set #'style = #'jazz
+ #(set-chord-name-style 'jazz)
\context ChordNames \scheme
\context Staff \notes \transpose c c' \scheme
>
-\version "1.7.6"
+\version "1.7.10"
%{
-\version "1.7.6"
+\version "1.7.10"
\header {
title="Chord Taxomony of LilyPond -- jazz"
subtitle="Amy's chord tests"
\score {
<
- \property ChordNames.ChordName \set #'style = #'jazz
+ #(set-chord-name-style 'jazz)
\context ChordNames \scheme
\context Staff \notes \transpose c c' \scheme
>
}
-\version "1.7.6"
+\version "1.7.10"
\include "german-chords-init.ly"
% #(set! german-Bb #t)
-\version "1.7.6"
+\version "1.7.10"
% the Gm7sus4/D chord prints as Gm/4/7/D
% it took me quite a while by experiment to work out how to enter it -- PC
%{ TODO: the construct with separet SquashVoice context is a little
gory. FIXME. %}
-\version "1.7.6"
+\version "1.7.10"
improOn = \notes {\translator Voice = impro }
improOff = \notes {\translator SquashVoice = melo }
-\version "1.7.6"
+\version "1.7.10"
\header {
texidoc ="FIXME"
texidoc= "Chord names don't attempt to find inversions and
bass notes." }
-\version "1.7.6"
+\version "1.7.10"
scheme = \notes {
<<c' e' g'>>1