On Sat, Oct 25, 2008 at 9:43 PM, Jonathan Kulp <[EMAIL PROTECTED]>wrote:

> Trevor, this is cool!  I think in your first example, though, where you
> want to illustrate right-pointing flags on a lone note, you mean to say "set
> stemLeftBeamCount to zero"?  Or do I misunderstand the example? Otherwise
> the first and second examples display the same thing.


Damn. Cut and paste error. Yes, you're totally right: the first example
should talk about stemLeftBeamCount instead of stemRightBeamCount.

OK, let's try these:

%%%%%%% FLAT FLAGS & BEAM NIBS %%%%%

Flat flags on lone notes and beam nibs at the ends of beamed figures are
both possible with a combination of stemLeftBeamCount, stemRightBeamCount
and paired [ ] beam indicators.

For right-pointing flat flags on lone notes, use paired [ ] beam indicators
and set stemLeftBeamCount to zero.

  \new RhythmicStaff {
    \set stemLeftBeamCount = #0
    c'16 [ ]
    r8.
  }

For left-pointing flat flags, set stemRightBeamCount instead.

  \new RythmicStaff {
    r8.
    \set stemRightBeamCount = #0
    c'16 [ ]
  }

For right-pointing nibs at the end of a run of beamed notes, set
stemRightBeamCount to a positive value. And for left-pointing nibs at the
start of a run of beamed notes, set  stemLeftBeamCount instead.

  \new RhythmicStaff {
    c'16
    c'16
    \set stemRightBeamCount = #2
    c'16
    r16
    r16
    \set stemLeftBeamCount = #2
    c'16
    c'16
    c'16
  }

Sometimes it may make sense for a lone note surrounded by rests to carry
both a left- and right-pointing flat flag. Do this with paired [ ] beam
indicators alone.

  \new RhythmicStaff {
     c'16
     c'16
     \set stemRightBeamCount = #2
     c'16
     r16
     c'16 [ ]
     r16
     \set stemLeftBeamCount = #2
     c'16
     c'16
  }

%%%%%%%%%


Oh, something else to realize when reading examples with \set
stemLeftBeamCount is that the \set here is always equivalent to \once \set.
In other words, the beam count settings aren't "sticky". This fact is
indicated clearly in the docs, but, unless you use the setting frequently,
the examples above might be a bit confusing.

(Especially the last example with the lone [ ]: it's important to understand
here that the pair of flat flags attaching to the lone c'16 [ ] have nothing
to do with the \set two notes prior.)






-- 
Trevor Bača
[EMAIL PROTECTED]
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to