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> |
}


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to