lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 1030 in lilypond: Enhancement: special notehea


From: lilypond
Subject: Re: [Lilypond-auto] Issue 1030 in lilypond: Enhancement: special noteheads for toms notation
Date: Fri, 17 May 2013 12:04:02 +0000


Comment #1 on issue 1030 by address@hidden: Enhancement: special noteheads for toms notation
http://code.google.com/p/lilypond/issues/detail?id=1030

There is a snippet in the LilyPond Snippet Repository which draws a notehead like that using embedded Postscript: http://lsr.dsi.unimi.it/LSR/Item?id=617 The only strange thing about that snippet is that I have to input all tom notes as Chorded notes, even single tom hits, like this: <tommh> <tomfh> Otherwise the new noteheads are not used.

I modified that snippet for myself a little bit to make the notehead an ellipse (instead of a circle). I don't know Postscript, so it might be incorrect, but it works. Please replace the Postscript code in the above snippet with:

          gsave
          currentpoint translate
          stem-thickness setlinewidth
          newpath
          30 rotate
          1.22 0.78 scale
          -0.2 -0.3 translate
          x0 y0 radius 0 360 arc
          stroke

          newpath
          1 0.4 scale
          1 setlinecap
          x1 y1 moveto
          x2 y2 lineto
          stroke
          grestore


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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