Jump to content

Hammer-on and pull-off using voices: 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:
The arc of hammer-on and pull-off is upwards in voices one and three and downwards in voices two and four:
The arc of hammer-on and pull-off is upwards in voices one and three and downwards in voices two and four:


<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

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
  }
}