Jump to content

Hammer-on and pull-off using chords: Difference between revisions

From LilyPond wiki
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 1: Line 1:
When using hammer-on or pull-off with chorded notes, only a single arc is drawn. However “double arcs” are possible by setting the <code>doubleSlurs</code> property to <code>#t</code>.
When using hammer-on or pull-off with chorded notes, only a single arc is drawn. However “double arcs” are possible by setting the <code>doubleSlurs</code> property to <code>#t</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
\new TabStaff {
\new TabStaff {
   \relative c' {
   \relative c' {

Revision as of 18:56, 16 November 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>)
  }
}