lilypond-user
[Top][All Lists]
Advanced

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

Glissando between single notes in chord


From: Nick Payne
Subject: Glissando between single notes in chord
Date: Sat, 06 Oct 2012 18:35:35 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

I'm using glissandos to indicate a guide finger in fingering, and in
most cases where there are chords, I don't want it between all the notes
in successive chords. Can this be done without creating a separate
hidden voice with the single notes having the glissando between them.
e.g. in the following, I only want the glissando between the top notes
in the chords.

\version "2.17.3"

guide = #(define-music-function (parser location padleft padright shift
missacc) (number? number? pair? boolean?)
#{
    \once \override Glissando #'(bound-details left padding) = #padleft
    \once \override Glissando #'(bound-details right padding) = #padright
    \once \override Glissando #'extra-offset = #shift
    \once \override Glissando #'(bound-details right end-on-accidental)
= #missacc
    \once \override Glissando #'breakable = ##t
    \once \override Glissando #'after-line-breaking = ##t
#})

\relative c'' {
  \guide #1 #0.5 #'(0 . 1.4) ##f <fis^4 b, a dis,>2\glissando <g^4 b, g e> |
}




reply via email to

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