On Mon, 2004-06-14 at 17:40, Han-Wen Nienhuys wrote:
> [EMAIL PROTECTED] writes:
> > On Mon, 2004-06-14 at 11:16, Bryan, Chris wrote: 
> > > Is it possible to do feathered beams in LY?  If so, how?
> > 
> > there is no native mechanism for this. i hacked it a while ago by making
> > two simultaneous beamed note-groups, with the beams tilted opposite
> > directions in each, and tweaked so the beam start-points were the same.
> > lily's spacing algorithm was sufficiently reliable that i didn't have to
> > worry about making one set of noteheads or stems disappear - they always
> > coincided exactly.
> > 
> > that was back on 2.0.0, so things may have changed since then.
> 
> We'd love to have a small example of this, for our tips & tricks
> document. Could you could code one up for us?

see attached ly.
-p
\version "2.2.0"

%$ "\times 1/2" allows 8 eighths to occupy only two beats.
%$ Adjust beam angles with the Voice.Beam #'positions arguments.
%$
%$ Note that this will produce warnings: "Too many clashing notecolumns. Ignoring 
them."

\score {
    \notes  \relative c' {
        \context Voice {  << { \stemUp \once \override Voice.Beam #'positions = #'(0 . 
0.5)
                               \once \override Voice.TupletBracket #'number-visibility 
= ##f 
                               \times 1/2 { c8[ c c c c c c c]} } \\
                             { \stemUp \once \override Voice.Beam #'positions = #'(0 . 
-0.5) 
                               \once \override Voice.TupletBracket #'number-visibility 
= ##f 
                               \times 1/2 { c[ c c c c c c c] }} >> } r2
    } 
    \paper { raggedright = ##t }

}
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to