lilypond-user
[Top][All Lists]
Advanced

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

Re: Ornament question


From: Jacques Menu
Subject: Re: Ornament question
Date: Sat, 15 Jan 2022 08:01:46 +0100

Hello Paul & al.

Here is the link that Vincent sent to me (didn’t notice is was privately), with the solution I mentioned in my answer to the list:


\version "2.22.1"

% scoops, thanks to vgay@vintherine.org

#(define (scoop-stencil grob)
   (ly:stencil-add
    (ly:note-head::print grob)
    (grob-interpret-markup grob
                           (markup #:with-dimensions '(0 . 0) '(0 . 0)
                                   #:translate '(-0.2 . -0.5)
                                   #:path 0.25 '((moveto -0.2 0.5)
                                                 (curveto 0.2 2 -1.2 2.5 -1.7 2.5))))))
scoopH = \once \override NoteHead #'stencil = #scoop-stencil

#(define (scoop-stencil grob)
   (ly:stencil-add
    (ly:note-head::print grob)
    (grob-interpret-markup grob
                           (markup #:with-dimensions '(0 . 0) '(0 . 0)
                                   #:translate '(-0.2 . -0.5)
                                   #:path 0.25 '((moveto 0 0)
                                                 (curveto 0.2 -1 -1.2 -1.5 -1.7 -1.5))))))
scoopB = \once \override NoteHead #'stencil = #scoop-stencil

\relative c'' {
  \scoopH c2 \scoopB c2
}


JM

Le 14 janv. 2022 à 11:44, Paul Hodges <pwh@cassland.org> a écrit :


What is the name of the ‘up arc’ ornament on the first note in this score? Then I’ll look it up in the LPNR.

That's a Scoop.  I don't think LilyPond supports it directly, but several ways of faking it are shown in this thread (two links to different ways of viewing it):

Paul


reply via email to

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