lilypond-user
[Top][All Lists]
Advanced

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

Re: Setting stems on rests


From: Valentin Villenave
Subject: Re: Setting stems on rests
Date: Wed, 5 Sep 2007 15:20:33 +0200

2007/9/5, Michael Sperone <address@hidden>:
>  Hi,I'm trying to fix a setting in my music and I can't figure out how. It's
> not a standard setting (well, it's a relatively new contemporary notation)
> so I don't imagine it will be too easyI need to be able to set stems on
> rests. I have large sections of 16th note/ 16th note rests which would be
> more clear and easier to read if I could do this and group them all in
> beats. I've messed around with some stem settings to no avail and was
> wondering if anyone could help?

I don't see what I mean. You can group rests and notes using manual
beaming, as follow:

     { c'16[ e'  r f']}

However, if you're really looking for rests with Stems, you can always
use the trick described in 12.1.2, which allows you to replace the
noteheads with any sign you want:

restNote = #(define-music-function (parser location note)
                                          (ly:music?)       #{
         \once \override Voice.NoteHead #'stencil =
           #ly:text-interface::print
         \once \override Voice.NoteHead #'text =
           \markup \musicglyph #"rests.4"
%% uncomment the following line if you want invisible stems
%        \once \override Voice.Stem #'transparent = ##t
         $note       #})

     { c'16 e'  \restNote d' f' }

Regards,
Valentin




reply via email to

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