lilypond-user
[Top][All Lists]
Advanced

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

Re: percussion pictograms (was: Re: recovering LilyPond user....)


From: Mika Kuuskankare
Subject: Re: percussion pictograms (was: Re: recovering LilyPond user....)
Date: Mon, 22 Feb 2010 19:39:19 +0200

Mark,

On 22.2.2010, at 18:20, Mark Polesky wrote:

> Mika Kuuskankare wrote:
>> BTW, I'm working with a set of percussion symbols for my
>> own software and as I need them in Lilypond myself I
>> export them as a collection of postscript markups. I'm not
>> sure if this would be of interest to the Lilypond
>> community. There are, of course, no standards but perhaps
>> some pretty established conventions at least... I can send
>> an example of what I mean a little bit later...
> 
> Mika,
> 
> I have done quite a lot of work on producing percussion
> pictograms for LilyPond (natively, without needing to export
> from another program).  

I did try to google for this before I started... I wasn't aware of your work. I 
think this would be a nice feature for Lilypond, though.
For me the PS export is the easiest way actually as I'm producing these 
algorithmically. Naturally, I would like to use something more 
lilypond-native...

> Perhaps we should compare notes, so
> to speak?

Sure Mark, please find below my notes :)
I'm afraid mine is just a small (but maybe practical) set for myself with 
symbols stolen, copied and adapted from various sources and defined in Lilypond 
in the following manner:

----- 8< -----
trianglePS = #"gsave
0.05 setlinewidth 
1 setlinecap 
0.0 0.0 0.0 setrgbcolor
newpath
0.0 0.1 moveto
0.5 1.0 lineto
1.0 0.0 lineto
0.1 0.0 lineto
stroke
grestore
"
triangleMARK = \markup {
  \postscript #trianglePS
}
----- >8 -----

-Mika


BTW, I tried to use fonts inside the embedded PS code but it failed. Does 
anybody know how to do it?
"/Helvetica findfont 22 scalefont setfont (a) show"    did not work...



> 
> - Mark
> 
> 

Attachment: xxxx.pdf
Description: Adobe PDF document

> 
> 

Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology 
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL








reply via email to

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