lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Create a \prall with a slur above


From: Viktor Mastoridis
Subject: Create a \prall with a slur above
Date: Sun, 8 Nov 2020 16:45:48 +0000

Hello,

I would like to create an upper mordent (\prall) for guitar tabs, which would have a curved slur over a single note.
The reasoning is that I would like to distinguish the regular Mordent (where each note is plucked), with the Grace Mordent (where the first note is plucked, the upper note is a quick hammer-on and the lower is a pull-off)
(See attachment for a more detailed rendition; or the image)

So far, I came to this construct:
\version "2.20.0"
\new TabStaff  { \tabFullNotation
g\prall ^\markup { \path #0.2 #'((curveto 0 -0.5 0 2 1.5 0)  )} }

I wonder whether there's a more elegant solution?


---
Viktor🎼Mastoridis


Attachment: graceMordent.ly
Description: Text Data

Attachment: graceMordent.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]