Jump to content

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

From LilyPond wiki
m Lemzwerg moved page Hammer on and pull off using voices to Hammer-on and pull-off using voices without leaving a redirect
mNo edit summary
 
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]]
[[Category:Snippet]]

Latest revision as of 12:06, 12 December 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
  }
}