Chord glissando in tablature: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| 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" full> | ||
myMusic = \relative c' { | myMusic = \relative c' { | ||
<c e g>1 \glissando <f a c> | <c e g>1 \glissando <f a c> | ||
Revision as of 18:56, 16 November 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
}
>>
}
\paper { tagline = ##f }