]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/topdocs/NEWS.tely (Top): add uniform-stretching example.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 4 Aug 2005 15:34:48 +0000 (15:34 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 4 Aug 2005 15:34:48 +0000 (15:34 +0000)
(Top): add proportionalNotationDuration example.

* input/regression/spacing-proportional.ly: new file.

ChangeLog
Documentation/topdocs/NEWS.tely
input/regression/spacing-proportional.ly [new file with mode: 0644]

index 4ad6844a11b19d25f2ecc2bfd05d0c9c059fd25c..f2143eb803ca0c667e4a13387363e2eaa909c99c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-08-04  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * Documentation/topdocs/NEWS.tely (Top): add uniform-stretching example.
+       (Top): add proportionalNotationDuration example.
+
+       * input/regression/spacing-proportional.ly: new file.
+
        * lily/tuplet-bracket.cc (parallel_beam): broken bracket never is
        synched to a beam.
 
index 42ec9c6735d0602512690704981c4a134fb3352c..a0ff53528a7693ccc6b81228ae8baba0d076dd5e 100644 (file)
@@ -33,6 +33,40 @@ See user manual, \NAME\
 
 @itemize @bullet
 
+@item
+Proportional notation is supported.  Notes can be spaced proportional
+to their time-difference, by assigning a duration.  to
+@code{proportionalNotationDuration}. For example,
+
+@lilypond[verbatim,relative=2,fragment,raggedright]
+<<
+  \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+  \new Staff { c8[ c c c c c]  c4 c2 r2 }
+  \new Staff { c2  \times 2/3 { c8 c c } c4 c1 }
+>>
+@end lilypond
+
+This feature was sponsored by Trevor Baca.
+
+@item 
+LilyPond will space note according to their durations, disregarding
+symbol sizes (e.g. accidentals) if @code{uniform-stretching} of the
+@code{SpacingSpanner} grob is set,
+
+
+@lilypond[verbatim,relative=2,fragment]
+<<
+  \override  Score.SpacingSpanner #'uniform-stretching = ##t 
+  \new Staff { c16[ c c c c c c c c c16]  }
+  \new Staff {
+    \times 6/7 { c16 c c cis c c c }
+    c8[ c32 c32 c16]
+  }
+>>
+@end lilypond
+
+This feature was sponsored by Trevor Baca.
 @item
 Tuplet brackets get arrows when they are broken across a line.
 
diff --git a/input/regression/spacing-proportional.ly b/input/regression/spacing-proportional.ly
new file mode 100644 (file)
index 0000000..32b5440
--- /dev/null
@@ -0,0 +1,23 @@
+\header {
+
+  texidoc = "Proportional notation can be created by setting
+@code{proportionalNotationDuration}. Notes will be spaced proportional
+to the distance for the given duration."
+
+}
+
+\version "2.7.4"
+
+\paper { raggedright = ##t }
+
+\relative c''
+<<
+  \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+  \new Staff { c8[ c c c c c]  c4 c2 r2 }
+  \new Staff { c2  \times 2/3 { c8 c c } c4 c1 }
+>>
+
+   
+        
+
+