Jump to content

Chord glissando in tablature: Difference between revisions

From LilyPond wiki
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
mNo edit summary
 
(2 intermediate revisions by the same user 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" full>
<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:
   >>
   >>
}
}
\paper { tagline = ##f }
</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
    }
  >>
}