lilypond-user
[Top][All Lists]
Advanced

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

Stemlets and invisible rests


From: Joseph Wakeling
Subject: Stemlets and invisible rests
Date: Wed, 17 Sep 2008 22:52:51 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Hello all,

Some may remember the snippet attached to this mail (or something
similar) from when I was first on this mailing list... :-)

It's _almost_ exactly what I want.  Note that in the second bar there
are some hidden/transparent rests.  The beams intentionally extend out
across those rests -- all that is missing are stem(lets) descending from
those beams.

So -- how can I achieve this? :-)  I've searched the archive but only
came across a 'cheat' that consisted of entering a note with an
invisible notehead.

I'd like to avoid that solution because I'd like to be able to create
such stemlets regardless of whether the rest is invisible or not.  I'm
not at all a Schemer, but is there some small function that can be
written to force the display of a short stem in this context?

Incidentally, I note that if this is compiled using 2.11.58 instead, the
beams over the (transparent or not) rests don't display properly...

Thanks in advance for all advice,

Best wishes,

    -- Joe
\version "2.10.33"
\include "english.ly"

\header {
        title = "København Ø"
        composer = "Joe Wakeling"
}

{
        \override Staff.Beam #'damping = #+inf.0
        \override Staff.TimeSignature #'style = #'()
        \transposition bf
        \clef treble
        \time 3/4
        \once \override Score.MetronomeMark #'transparent = ##t
        \tempo 8=63
        
        <<
           \new Voice = "1" { \relative c''' { \voiceOne bf4~( bf16 cf8 bf16~ 
bf8) \oneVoice r16 ef16(\p\< } }
           \new Voice = "2" { \relative c' { \voiceTwo ef8~\pp \times 2/3 { ef8 
fs16~ } fs16 g8 ef16~ ef8 } }
        >>
        |
        <<
           \context Voice = "1" { \relative c''' { \tupletUp \times 2/3 { 
c16--\mp\> b4) \voiceOne f16~\ppp } f8.[( \once \override Rest #'transparent = 
##t r16] \once \override Rest #'transparent = ##t r32[ d'16.]) } }
           \context Voice = "2" { \relative c' { \voiceTwo s4 \once \override 
Rest #'transparent = ##t r16[ etqf8 b'16~] b32[ fs16.]\pppp } }
        >>
}

reply via email to

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