Anthony W. Youngman Saturday, March 28, 2009 3:50 PM
In message <address@hidden>, Trevor
Daniels <address@hidden> writes
Just tried to do this (2.12.2) and I'm getting 6/8 beaming in a 3/4
passage :-( Am I doing anything stupid?
voiceTimeSig = {
\override Staff.TimeSignature #'style = #'()
\key f \major
\time 3/4
#(revert-auto-beam-setting '(end * * 3 4) 3 4)
\set beatGrouping = #'(1 1 1)
s2.*8 % mark 1
s2.*6 % mark 2
\time 2/4 s2 \time 4/4 s1
Not really stupid, as the same error catches everyone
quite often. It's that Context thing again. From the
way you are doing it I guess you are not placing the
revert command in every Voice. But in this form it
applies only to the Voice context in which it appears.
To make the revert apply to every voice in a Staff you
need to add 'Staff, and to make it apply to every
Voice in every Staff you need to add 'Score, like this:
#(revert-auto-beam-setting '(end * * 3 4) 3 4 'Score)