lilypond-user
[Top][All Lists]
Advanced

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

Re: re-attacked glissandi


From: Thomas Morley
Subject: Re: re-attacked glissandi
Date: Tue, 29 May 2012 23:43:41 +0200

2012/5/29 Bernardo Barros <address@hidden>:
> Hello list,
>
> How can one achieve this kind of notation. A re-attacked glissando, with
> possible different articulations. Glissandi appear to be possible only
> with adjacent notes.
>
> A possible solution would be to create notes without noteheads, and then
> create a false glissando line. Probably the stems won't be aligned
> correctly with the line of the glissando.
>
> It's not exactly uncommon in contemporary music. Quite common actually.
>
> [see png file attached]
>
> --
> Bernardo Barros
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Hi,

you may want to use 'glissando-skip.
See the example below and ‘glissando-skip.ly’  in
http://lilypond.org/doc/v2.15/input/regression/collated-files.html

\version "2.15.39"

stemGliss = #(define-music-function (parser location control)(number?)
#{
        \once\override NoteColumn #'glissando-skip = ##t
        \once \override NoteHead #'transparent = ##t
        \once \override NoteHead #'no-ledgers = ##t
        \once \override NoteHead #'Y-extent = #(cons 0 control)
#})

\relative c' {
        % helper:
        % \override  Stem #'color = #red \override  Stem #'layer = #6

        \once \override Glissando #'bound-details #'left #'padding = #1
        c1\glissando
        \stemGliss #0.3
        d16
        \stemGliss #0
        e
        \stemGliss #0.3
        e
        \stemGliss #-0.1
        f

        \stemGliss #0.2
        f
        \stemGliss #-0.2
        g
        \stemGliss #0.2
        g
        \stemGliss #-0.2
        a
        \once \override Stem #'X-extent = #'(-1.5 . 0)
        \stemGliss #-0.1
        a
        \stemGliss #0.3
        b
        \stemGliss #0
        b
        \stemGliss #0.4
        c

        \stemGliss #0.1
        c
        \stemGliss #0.5
        d
        \stemGliss #0.2
        d
        \stemGliss #0.5
        e
        e1
}

HTH,
  Harm



reply via email to

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