2

I've tried different methods to have a glissando without a final note. The problem is that the glissando sign is too long whatever the hidden note is. I need a short glissando sign. Is that possible?

Here is a minimal code:

\version "2.22.1"
\language "english"

\header {
  % Remove default LilyPond tagline
  tagline = ##f
}

\layout {
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
}

global = {
\key gf \major
  \override Glissando.style = #'trill
  \hide Staff.BarLine
}
\relative c' {
\global 
ef8 ef4 f8 f4 ef8 f8
gf2 \glissando
af2. \glissando
gf4.. gf16
gf2. \glissando \hideNotes d16 \unHideNotes
\bar "||"
}
3
  • 3
    Can you provide a snippet of the code you are using? Is the glissando too long horizontally, vertically, or both? Nov 12 '21 at 16:54
  • In addition to the above, please indicate the instrument(s) involve.
    – Aaron
    Nov 12 '21 at 17:23
  • 1
    I added the code
    – Mahanidhi
    Nov 13 '21 at 7:10
2

It's hard to know what you are trying to achieve without some kind of image/drawing.

I guess that you want the final note to take up no metrical time in the bar, if so you probably want to use a hidden grace note:

    \afterGrace gf2\glissando { \hideNotes af8 \unHideNotes }

Update

Now that you have posted the code that you are working with, it seems like there is a problem with the timing translator. I think you should be using a cadenza instead of just hiding the bar lines.

Try something like this:

    \cadenzaOn
    ef8 ef4 f8 f4 ef8 f8
    \afterGrace gf2\glissando { \hideNotes af8 \unHideNotes }
    \afterGrace af2.\glissando { \hideNotes gf8 \unHideNotes }
    gf4.. gf16
    \afterGrace gf2.\glissando { \hideNotes d8 \unHideNotes }
-1

Add a note in a hidden voice to anchor the end of the gliss.

1
  • 2
    From the OP: "the glissando sign is too long whatever the hidden note is"
    – Aaron
    Nov 12 '21 at 22:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.