Zitat von: senpai96xx am Freitag, 4. April 2025, 13:08Das könnte ja mal hilfreicherweise in einer der vielen Dokumentationen stehen, daß das quasi eine eine neue Umgebung ist, die nach anderen Regeln funktioniert wie lilypond selbst...
Zitat von: Manuela am Dienstag, 1. April 2025, 19:35Ich habe noch ein Beispiel erstellt, wie du verschiedene Definitionen in einer Datei verwenden kannst.
Zitat von: Manuela am Dienstag, 1. April 2025, 19:21Ich habe noch an dem Markup gearbeitet, falls du die Bezeichnungen übereinander setzen willst.
\version "2.25.22"
chExBass =
{
< c e g >-\markup \sub "Dur"
< c e g a >-\markup \override #'(baseline-skip . 2)
\super \left-column { "g6" "Dur" }
< c ees g bes >-\markup \override #'(baseline-skip . 2)
\super \left-column { "Moll" "k7" }
}
chExBasses =
#(append (sequential-music-to-chord-exceptions chExBass #t) ignatzekExceptions)
chExBassx =
{
< c e g >-\markup \sub "Dur"
< c e g a >-\markup {\sub "Dur" \super "g6" }
< c e g bes >-\markup {\sub "Dur" \super "k7" }
< c e g b >-\markup {\sub "Dur" \super "g7" }
< c ees g >-\markup \sub "Moll"
< c ees g bes >-\markup {\sub "Moll" \super "k7" }
< c ees g b >-\markup {\sub "Moll" \super "g7" }
< c es ges bes >-\markup {\sub "Moll" \super "k7(b5)" }
}
chExBassesx =
#(append (sequential-music-to-chord-exceptions chExBassx #t) ignatzekExceptions)
\layout {
\context {
\ChordNames
chordNameExceptions = #chExBasses
\override ChordName.font-size = #3
}
\context {
\ChordNames
\name ChordNamesx
\alias ChordNames
chordNameExceptions = #chExBassesx
}
\context {
\Score
\accepts ChordNamesx
}
}
\paper {
indent = #0
tagline = ##f
system-system-spacing.padding = #10
line-width = #140
}
mychords = \chordmode
{
\override ChordNames.VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = #3
c1 c:6
c:7 c:maj
c:m c:m7 c:m7+
c:m7.5- c:7.5-.3- < c' es' ges' bes' >
}
<<
\new ChordNames \mychords
\new ChordNamesx \mychords
\new Staff \mychords
>>
\version "2.25.22"
%\include "C:/LilyPond/usr/share/lilypond/current/ly/harmonyli.ly"
chExBass =
{
< c e g >-\markup \sub "Dur"
< c e g a >-\markup \override #'(baseline-skip . 2)
\super \left-column {
"g6" "Dur"
}
}
chExBasses =
#(append (sequential-music-to-chord-exceptions chExBass #t) ignatzekExceptions)
\layout { \context {\ChordNames chordNameExceptions = #chExBasses } }
mychords = \chordmode
{
c1 c:6
}
<<
\new ChordNames \mychords
\new Staff \mychords
>>
\version "2.20.0"
\include "C:/LilyPond/usr/share/lilypond/current/ly/harmonyli.ly"
chExBass =
{
< c e g >-\markup \sub "Dur"
< c e g a >-\markup {\sub "Dur" \super "g6" }
< c e g bes >-\markup {\sub "Dur" \super "k7" }
< c e g b >-\markup {\sub "Dur" \super "g7" }
< c ees g >-\markup \sub "Moll"
< c ees g bes >-\markup {\sub "Moll" \super "k7" }
< c ees g b >-\markup {\sub "Moll" \super "g7" }
< c es ges bes >-\markup {\sub "Moll" \super "k7(b5)" }
}
chExBasses =
#(append (sequential-music-to-chord-exceptions chExBass #t) ignatzekExceptions)
\layout { \context {\ChordNames chordNameExceptions = #chExBasses } }
mychords = \chordmode
{
c1 c:6
c:7 c:maj
c:m c:m7 c:m7+
c:m7.5- c:7.5-.3- < c' es' ges' bes' >
}
<<
\new ChordNames \mychords
\new Staff \mychords
>>