lilypond-user
[Top][All Lists]
Advanced

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

Re: snap (bartok) pizz


From: Mats Bengtsson
Subject: Re: snap (bartok) pizz
Date: Mon, 25 Apr 2005 10:18:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

Please, Sean always tell what version of LilyPond you are using and
please Jonatan, always tell what version of LilyPond the solution
works with.

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).

   /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]