]> git.donarmstrong.com Git - lilypond.git/commitdiff
Added rhythms headword.
authorGraham Percival <graham@percival-music.ca>
Tue, 25 Sep 2007 21:12:40 +0000 (14:12 -0700)
committerJohn Mandereau <john.mandereau@gmail.com>
Fri, 2 Nov 2007 08:47:18 +0000 (09:47 +0100)
Documentation/user/rhythms.itely
input/manual/rhythms-headword.ly [new file with mode: 0644]

index 284e01638848b50cde9b3def1c3da0745957afad..1f47fdb97856b265ec40b4c7059e957cef2c972a 100644 (file)
@@ -11,6 +11,9 @@
 
 This section discusses rhythms, durations, and bars.
 
+@lilypondfile[ragged-right,line-width=16\cm,staffsize=16,quote]
+{rhythms-headword.ly}
+
 @menu
 * Writing rhythms::             
 * Writing rests::               
diff --git a/input/manual/rhythms-headword.ly b/input/manual/rhythms-headword.ly
new file mode 100644 (file)
index 0000000..f1ea438
--- /dev/null
@@ -0,0 +1,113 @@
+\version "2.11.33"
+
+\layout {
+   \context { \Score
+      \override NonMusicalPaperColumn #'line-break-system-details =
+      #'((alignment-offsets . (0 -14 -32 -46)))
+   }
+}
+
+\new Score <<
+   \set Score.proportionalNotationDuration = #(ly:make-moment 1 96)
+   \set Score.autoBeaming = ##f
+   \set Score.tupletFullLength = ##t
+   \override Score.TupletBracket #'staff-padding = #5
+   \new StaffGroup <<
+      \new RhythmicStaff {
+         \time 4/8
+         c64 [
+         c64
+         c16
+         c64
+         c64
+         c64
+         c64
+         c16
+         c64
+         c64 ]
+         c64 [
+         \set stemLeftBeamCount = #4
+         \set stemRightBeamCount = #4
+         c64
+         \set stemLeftBeamCount = #4
+         \set stemRightBeamCount = #3
+         c64
+         c32.
+         c64
+         c64
+         c64
+         c64
+         c64
+         \set stemRightBeamCount = #4
+         c64
+         \set stemLeftBeamCount = #4
+         \set stemRightBeamCount = #3
+         c64
+         \set stemRightBeamCount = #2
+         c32.
+         \time 1/8
+         \set stemLeftBeamCount = #2
+         c64
+         c64
+         c16
+         c64
+         c64 ]
+      }
+      \new RhythmicStaff {
+         \set stemLeftBeamCount = #0
+         c16 [ ]
+         r8.
+         \times 2/3 {
+            c16 [
+            c16
+            c16
+            c16
+            c16
+            c16
+         }
+         \times 2/3 {
+            c32
+            c32
+            c32
+            c32
+            c32 ]
+            r32
+         }
+      }
+   >>
+   \new StaffGroup <<
+      \new RhythmicStaff {
+         \times 4/5 {
+            \set stemLeftBeamCount = #0
+            c32 [ ]
+            r16.
+            \set stemLeftBeamCount = #2
+            c16. [
+            c32
+            \set stemRightBeamCount = #3
+            c32 ] 
+            r32
+         }
+         \times 8/11 {
+            c16. [
+            c8
+            c8 ]
+         }
+         c8
+      }
+      \new RhythmicStaff {
+         \times 2/3 {
+            c16 [
+            c8. ]
+            c4
+            r4
+         }
+         \times 4/5 {
+            r16
+            \set stemLeftBeamCount = #2
+            \set stemRightBeamCount = #0
+            c16. [ ]
+         }
+      }
+   >>
+>>