lilypond-user
[Top][All Lists]
Advanced

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

Glissando


From: Brett Duncan
Subject: Glissando
Date: Fri, 03 Dec 2004 16:29:40 +1100
User-agent: Mozilla Thunderbird 0.7.1 (Macintosh/20040626)

Hi,

I've been setting some music for a colleague, but he'd like to see
'gliss' appear over at least the first gliss line in the piece, or else a "trill" style gliss. (Is there a trill style for gliss lines? I've only seen "zigzag" as an alternative to "line" in the example files.)

I've looked in the archives, but can't quite seem to get what I've found
to work.

On 5/10/04, Antti Kaihola wrote:

I also did glissando lines with postscript. Here's some code:

I needed straight glissando lines which end on the barline and not on
the first note of the next bar. Due to automatic spacing, the width of
the line has to vary, and the first glissando of the piece should have
the text "gliss" next to it.

So I defined these symbols:

glisslinescript = \markup { \postscript #"0.2 setlinewidth 1 6 moveto 3 -8 lineto
                  stroke" \halign #1 { \italic gliss. } }

glissline = \markup { \postscript #"0.2 setlinewidth 1 6 moveto 3 -8 lineto
                  stroke" }

glisslinewide = \markup { \postscript #"0.2 setlinewidth 1 6 moveto 5.5 -8 lineto
                  stroke" }

Then I just use c\glisslinescript d\glissline e\glisslinewide to attach
glissando lines to notes. I also use some extra-offset for the line to
make it fit the music perfectly.

This doesn't work for me (I'm using version 2.2.2). I get an error about
\postscript not being recognised.

Can someone point me in the right direction?

Brett Duncan





reply via email to

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