The easiest is to use separate voices for the glissando notes and the
headless notes inbetween:
\version "2.10.0"
headless = {
\once \override Staff . NoteHead #'transparent = ##t
}
\new Staff \relative c'' <<
{c4\glissando s2 f,4 }
\new Voice { s4 \headless b \headless a }
>>
Note als
Hey lilypond users,
I am trying to write a glissando from note A to note B while traversing
several headless stems and, so far, have only come up with the following
solution:
headless = #(define-music-function (parser location) ()
#{
\once \override Staff . NoteHead #'transparent = ##t
#}