]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/automatic-beam-subdivisions.ly
Merge branch 'master' of ssh://kainhofer@git.sv.gnu.org/srv/git/lilypond into dev...
[lilypond.git] / input / lsr / automatic-beam-subdivisions.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.38"
4
5 \header {
6   lsrtags = "rhythms"
7  texidoc = "
8 Beams can be subdivided automatically. By setting the property
9 @code{subdivideBeams}, beams are subdivided at beat positions (as
10 specified in @code{beatLength}). 
11 " }
12 % begin verbatim
13 \score {
14   \new Staff \relative {
15     << {
16       \voiceOne
17       \set subdivideBeams = ##t
18       b'32[ a g f c' b a g b^"subdivision enabled" a g f c' b a g]
19       \oneVoice
20     }
21     \new Voice {
22       \voiceTwo
23       b32_"default"[ a g f c' b a g b a g f c' b a g]
24     } >>
25     \set beatLength = #(ly:make-moment 1 8)
26     b32^"beatLength 1 8"[ a g f c' b a g]
27     \set beatLength = #(ly:make-moment 1 16)
28     b32^"beatLength 1 16"[ a g f c' b a g]
29   }
30 }
31