5 texidoc = "banter chords
13 % test German (Banter) naming
14 % for more conventional naming, comment scm stuff out
17 % this shows a serious shortcoming with our guile approach:
18 % we can't (easily) display banter/non banter chords alongside
19 % eachother. These guile lists are fixed in the guile environment
20 % when this file has been parsed...
27 #;(define chord::names-alist-banter '())
28 #(set! chord::names-alist-banter
31 (((0 . 0) (2 . -1) (4 . -1)) . (("m" ("5-" . (type . "super")))))
33 (((0 . 0) (2 . -1) (4 . -1) (6 . -2)) . ("o" (type "super")))
37 % Urg, this will break again, in time
38 % Is this correct, anyway?
40 #(define (pitch->text pitch)
41 (if (and (= (modulo (cadr pitch) 7) 6)
43 (cons (make-string 1 (integer->char 66)) '())
45 (if (= (modulo (cadr pitch) 7) 6)
46 (make-string 1 (integer->char 72))
47 (make-string 1 (integer->char (+ (modulo (+ (cadr pitch) 2) 7) 65))))
48 (if (= (caddr pitch) 0)
50 (list (list (string-append "accidentals-"
51 (number->string (caddr pitch)))
52 '(font . "feta")))))))
56 chord = \notes\transpose c' c''\chords{
57 % dim modifier means: lower all implicit additions
61 % explicit additions are taken as entered:
63 % note that 7 is a special case: it's always lowered by 1...
85 \context ChordNames \chord