4

I'm trying to write a guitar tablature in which there must be a brush down stroke, and I can't find the way to do this with Lilypond. Here is my chord:


\score {
  \layout {  }
  <<
    \new TabStaff {
      <e a c'>
    }
  >>
}

Below is the result of that code. So I'd like to add an up arrow at the left of that chord.

Does anyone know how to do it?

enter image description here

Chris Albert
  • 2,462
  • 8
  • 27
  • 31
Biloot36
  • 41
  • 1

1 Answers1

2

I'm not sure exactly what symbol you want for a brush downstroke – but I am assuming it is just a low note to high note arpeggio. (The default direction for an arpeggio is low to high, so musically speaking the arrow is unnecessary.)

In LilyPond the way to mark an arpeggio is by placing the command \arpeggio directly after the chord.
To get arrows on the arpeggio symbols you need to write \arpeggioArrowUp (or \arpeggioArrowDown) beforehand. See 1.3.3 Expressive marks as lines - arpeggio.

Unfortunately, the normal TabStaff doesn't display a lot of normal musical notation, including the arpeggio symbols.
However if you use the command \tabFullNotation inside of the TabStaff, a hybrid of tab notation and regular staff notation is displayed.
NB This will also mean that time signature and note stems etc. will also be printed.

Putting all of this together you should get something like this:

\score {
    <<
        \new TabStaff {  
            \tabFullNotation
            \arpeggioArrowUp
                <e a c'> \arpeggio
        }
    >>
    \layout {  }
}

Result of above code

Elements in Space
  • 253
  • 1
  • 3
  • 12
  • Thanks, that's almost what I wanted to do. I was looking for a straight arrow, not an undulating one. If anybody finds the way to do it, that would be better, but this helpful answer can be suitable for it. – Biloot36 Feb 25 '22 at 23:23