I don't have a global solution, but it's a lot shorter and cleaner if you use variables, like this:

oneLBeam = {\set stemLeftBeamCount = #1 }
oneRBeam = {\set stemRightBeamCount = #1 }
{
a16 [ \oneLBeam \oneRBeam r g] s
a[ \oneRBeam g \oneRBeam \oneLBeam r g]
}

You can probably do it completely automatically with some Scheme code, but I don't know enough about using Scheme in Lilypond to help here.

Yuval

On Wed, 16 Feb 2005 15:53:50 -0500 (EST), Qian Li <[EMAIL PROTECTED]> wrote:

I am using version 2.2.5.

I am trying to write many groups of four 16th-notes some of which are
separated by 16th-rest value spacers.  When I force-beam the notes over
any spacer, the double beam is continuous instead of single over the
spacer.  My current solution is massively wordy, requires replacing \s
with \r and making the latter invisible, and must be applied to
each group, of which I have hundreds including two-voice polyphony:

a16 [\set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 r g] s
a[ stemRightBeamCount = #1 g \set stemLeftBeamCount = #1 \set
stemRightBeamCount = #1 r g]

Do you have a better, more global solution? Thanks.

Qian Li '05


_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user





_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to