lilypond-user
[Top][All Lists]
Advanced

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

Two types of glissandi in the same score?


From: torchflame
Subject: Two types of glissandi in the same score?
Date: Fri, 27 Feb 2015 20:21:29 -0700 (MST)

Hello everyone,
In preparing notes for my theory classes, I find it useful to have arrows
for various voice-leading rules. Particularly, I use solid arrows to show
that a rule is being carried out and a dashed arrow to show that a rule is
being ignored for some idiomatic reason.  
I'm currently using the glissando environment to create one kind of arrow,
but when I try to define a new command, as shown below, I get a huge string
of errors, and the code doesn't compile.
Here's the code I'm currently using for the solid arrow:
#(define-event-function (parser location)() 
#{ 
        \revert Glissando.style
        \tweak #'arrow-length #.7 
        \tweak #'arrow-width #.35 
        \glissando 
#}) 

And here's the code I'm using for the dashed arrow:
#(define-event-function (parser location)() 
#{ 
        \override Glissando.style = #'dashed-line
        \tweak #'arrow-length #.7 
        \tweak #'arrow-width #.35 
        \glissando 
#})
Any help on this matter would be much appreciated.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Two-types-of-glissandi-in-the-same-score-tp172384.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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