1\version "2.19.40"
2
3\header {
4
5  doctitle = "Special beaming rules for 3/4 time"
6
7  texidoc = "
8Beaming in 3/4 time has special treatment.  By default
9six eighth notes are beamed in one. Beams that would imply 6/8 time
10may be avoided with @code{beamHalfMeasure = ##f}.  When the beaming
11is changed, beams should start at the beginning of the measure.
12"
13
14}
15
16\relative c' {
17  \time 3/4
18  \set Timing.beamHalfMeasure = ##f
19  r4.^\markup "Prevent beams that imply 6/8 time" c8 c c |
20  c8 c r c c r |
21  r8_"but these beams are okay" c c c c c | c c c r r4 \bar "||"
22
23  \set Timing.beamHalfMeasure = ##t
24  r4.^\markup "Or allow them" c8 c c c c r c c r
25  \break
26
27  \unset Timing.beamExceptions
28  r8^\markup "Beam to the beat" c c c c c
29  c c c r r4 \bar "||"
30
31  \set Timing.baseMoment = #(ly:make-moment 1/8)
32  \set Timing.beatStructure = 3,3
33  r8^\markup "Override to beam groups of 3 eighth notes" c c c c c
34  r4. c8 c c c c c r4.
35}
36