Chord changes for fretboards: Difference between revisions
Appearance
Import snippet from LSR |
mNo edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Fretboards can be set to display only when the chord changes, or at the beginning of a new line. | |||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\include "predefined-guitar-fretboards.ly" | \include "predefined-guitar-fretboards.ly" | ||
myChords = \chordmode { | myChords = \chordmode { | ||
| Line 22: | Line 20: | ||
[[Category:Fretted strings]] | [[Category:Fretted strings]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 17:01, 14 December 2025
Fretboards can be set to display only when the chord changes, or at the beginning of a new line.
\version "2.24"
\include "predefined-guitar-fretboards.ly"
myChords = \chordmode {
c1 c1 \break
\set chordChanges = ##t
c1 c1 \break
c1 c1
}
<<
\new ChordNames { \myChords }
\new FretBoards { \myChords }
\new Staff { \myChords }
>>