lilypond-user
[Top][All Lists]
Advanced

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

Re: Slides from grace notes to chords


From: Lukas-Fabian Moser
Subject: Re: Slides from grace notes to chords
Date: Fri, 10 Sep 2021 19:28:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi Carlos,

I am doing a slide /glissando from a hidden grace note into a two note chord ..
What is the norm? Does the glissando needs to show sliding to both notes or one 
will suffice?


Example:   \grace { \hideNotes d,8 \glissando  }\unHideNotes <a' e'>2.  \grace { 
\hideNotes d,8 \glissando  }\unHideNotes<a' e'>2. %m1

If the slide needs to show on both notes, how do I accomplish that?

I can't comment on your first question (which version is to be preferred).

You can make your code shorter by using \once :

{
  \once \hideNotes \grace d,8 \glissando <a' e'>2.
  \once \set glissandoMap = #'((0 . 0) (0 . 1))
  \once \hideNotes d,8 \glissando  <a' e'>2.
}

And for double glissando lines, \set glissandoMap is your friend. Each pair (x . y) in the list draws a glissando from the x-th note of the first chord (in your case, just one note) to the y-th note of the second chord.

Lukas




reply via email to

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