File tree Expand file tree Collapse file tree 4 files changed +39
-34
lines changed Expand file tree Collapse file tree 4 files changed +39
-34
lines changed Original file line number Diff line number Diff line change
1
+ * .pdf
2
+ * .png
3
+ * .svg
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ % https://lists.gnu.org/archive/html/lilypond-user/2023-03/msg00001.html
2
+
3
+ \version " 2.24.0"
4
+
5
+ # (define (romanNumeralChordEngraver cx)
6
+ (let ((tonic #{ c #}))
7
+ (make-engraver
8
+ ((initialize engraver)
9
+ (ly:context-set-property! cx 'chordRootNamer
10
+ (lambda
11
+ (pitch capitalized)
12
+ (let
13
+ ((degree (1 + (ly:pitch-notename (ly:pitch-diff pitch tonic))))
14
+ (style (if capitalized 'roman-lower 'roman-upper)))
15
+ (number-format style degree)))))
16
+ (listeners
17
+ ((key-change-event engraver event)
18
+ (set! tonic (ly:event-property event 'tonic)))))))
19
+
20
+ \layout {
21
+ \context {
22
+ \ChordNames
23
+ \consists # romanNumeralChordEngraver
24
+ }
25
+ }
26
+
27
+ \score {
28
+ <<
29
+ \new ChordNames {
30
+ \set chordNameLowercaseMinor = # #t
31
+ \set chordChanges = # #t \chordmode {
32
+ c1 d: m e: m f g: 7 a: m b: 7
33
+ }
34
+ }
35
+ >>
36
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments