Jump to content

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

From LilyPond wiki
No edit summary
m New category
Line 13: Line 13:
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Editorial annotations]]
[[Category:Editorial annotations]]
[[Category:Fretted strings]][[Category:Snippet]]
[[Category:Fretted strings]]
[[Category:Snippet]]

Revision as of 23:20, 21 November 2025

The arc of hammer-on and pull-off is upwards in voices one and three and downwards in voices two and four:

\version "2.24"

\new TabStaff {
  \relative c' {
    << { \voiceOne g2( a) }
    \\ { \voiceTwo a,( b) }
    >> \oneVoice
  }
}