|
From: | Walt North |
Subject: | chordnames chordmode and markup |
Date: | Sun, 29 Sep 2024 16:12:30 -0700 |
User-agent: | Mozilla Thunderbird |
Is it possible in someway to get some sort of markup behavior in chordmode? They are cases where I want to add a remark for the rhythm guitar player for one reason or another for some chords.
Simple minded example below. For a staff note I can add text. But lilypond throws an error when I try the same thing on Chordnames. So I probably need some other sort of technique to get that effect.
C:/Users/waltn/AppData/Local/Temp/frescobaldi-3opbiaix/tmpehm0kx93/document.ly:4:28: error: string outside of text script or \lyricmode
c1 | c^"hammer 2nd string
" | c | c |
Interpreting music...
\version "2.24.4"
\layout {
\context {
\Staff
% \RemoveAllEmptyStaves
}
}
ch = \chordmode {
% c1 | c^"hammer 2nd string" | c | c |
c1 | c | c | c |
}
\score {
\new ChordNames { \ch }
}
nt = \relative c' {
c1 | c^"hammer 2nd string" | c | c |
}
\score {
\new Staff { \nt }
}
\score {
<<
\new Staff { \relative { s1 <>^"hammer 2nd string" }}
\new ChordNames { \ch }
>>
}
[Prev in Thread] | Current Thread | [Next in Thread] |