lilypond-user
[Top][All Lists]
Advanced

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

Re: snap (bartok) pizz


From: Sean Reed
Subject: Re: snap (bartok) pizz
Date: Mon, 25 Apr 2005 10:32:36 +0200

hi mats,

On 25.04.2005, at 10:18, Mats Bengtsson wrote:

Please, Sean always tell what version of LilyPond you are using and
please Jonatan, always tell what version of LilyPond the solution
works with.
yeah, sorry. i usually do that. slipped my mind this time.

To avoid confusion, I can tell you both that the function
make-circle-stencil was introduced in version 2.5.19 and is
not available in any stable version (which probably is what
Sean has installed).
i've got 2.5.0 on one machine and 2.5.19 on the other.

thanks for the tip.

sean



   /Mats

Jonatan Liljedahl wrote:
On Sun, 24 Apr 2005 22:23:52 +0200
Sean Reed <address@hidden> wrote:
i've not been able to find an articulation symbol to indicate a snap
or "bartok" pizz. (see attached graphic)

have i overlooked something?

is there a markup or workaround for this?
This is how I do it, put this in your .ly file:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#(def-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
    (markup #:stencil
      (ly:stencil-translate-axis
        (ly:stencil-add
          (make-circle-stencil 0.7 0.1 #f)
          (ly:make-stencil
            (list 'draw-line 0.1 0 0.1 0 1)
            '(-0.1 . 0.1) '(0.1 . 1)
          )
        )
        0.7 X
      )
    )
  )
)
bartok = ^\markup \bartokpizz
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
And then just prepend \bartok to the notes that should have bartok
pizzicatto.
/Jonatan    -=( http://kymatica.com )=-
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================






reply via email to

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