fix altChord transposition

This commit is contained in:
tux 2025-04-17 20:22:21 +02:00
parent eccd9b8730
commit 140bc611d1

View File

@ -38,13 +38,14 @@ shiftChords = #(define-music-function (parser location xshift chords) (number? l
$chords $chords
#}) #})
altChord = #(define-music-function (parser location mainchord altchord) (ly:music? ly:music?) altChord =
#(define-music-function (parser location mainchord altchord) (ly:music? ly:music?)
(define (chord-namer in-pitches bass inversion context) (define (chord-namer in-pitches bass inversion context)
#{ #{
\markup { \markup {
\translate #'(-0.5 . 0) \translate #'(-0.5 . 0)
\score { \score {
\chords { #mainchord \klamm #altchord } \chords { \transposable #TRANSPOSITION { #(music-clone mainchord) \klamm #(music-clone altchord) } }
\layout { \layout {
\LAYOUT \LAYOUT
\context { \context {