Jump to content

Hammer-on and pull-off using chords: 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
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
</lilypond>
</lilypond>


[[Category:Included in the official documentation]]
[[Category:Editorial annotations]]
[[Category:Editorial annotations]]
[[Category:Fretted strings]]
[[Category:Fretted strings]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 12:05, 12 December 2025

When using hammer-on or pull-off with chorded notes, only a single arc is drawn. However “double arcs” are possible by setting the doubleSlurs property to #t.

\version "2.24"

\new TabStaff {
  \relative c' {
    % chord hammer-on and pull-off
    \set doubleSlurs = ##t
    <g' b>8( <a c> <g b>)
  }
}