Chord glissando in tablature: Difference between revisions
Appearance
Import snippet from LSR |
mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
String numbers may be necessary for <code>TabStaff</code> because automatic string calculations are different for chords and for single notes. | String numbers may be necessary for <code>TabStaff</code> because automatic string calculations are different for chords and for single notes. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
myMusic = \relative c' { | myMusic = \relative c' { | ||
<c e g>1 \glissando <f a c> | <c e g>1 \glissando <f a c> | ||
| Line 33: | Line 33: | ||
>> | >> | ||
} | } | ||
</lilypond> | </lilypond> | ||
[[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:03, 14 December 2025
Slides for chords are indicated by default in both Staff and TabStaff.
String numbers may be necessary for TabStaff because automatic string calculations are different for chords and for single notes.
\version "2.24"
myMusic = \relative c' {
<c e g>1 \glissando <f a c>
<cis, eis gis>1 \glissando <f a c>
<cis eis gis>1 \glissando <f a c\3>
}
\score {
<<
\new Staff {
\clef "treble_8"
\omit StringNumber
\myMusic
}
\new TabStaff \myMusic
>>
}
\score {
<<
\new Staff {
\clef "treble_8"
\omit StringNumber
\myMusic
}
\new TabStaff \with { \override Glissando.style = #'none } {
\myMusic
}
>>
}