]> git.donarmstrong.com Git - lilypond.git/commitdiff
add \parallelMusic news.
authorNicolas Sceaux <nicolas.sceaux@free.fr>
Sun, 29 Jan 2006 11:38:13 +0000 (11:38 +0000)
committerNicolas Sceaux <nicolas.sceaux@free.fr>
Sun, 29 Jan 2006 11:38:13 +0000 (11:38 +0000)
ChangeLog
Documentation/topdocs/NEWS.tely

index c4daecfdd501d6d7a1b3acccec1c310081da94b3..ea03e8d04453486bff36bbc63429058b5486d3f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-29  Nicolas Sceaux  <nicolas.sceaux@free.fr>
+
+       * Documentation/topdocs/NEWS.tely (Top): add \parallelMusic news.
+
 2006-01-28  Graham Percival  <gpermus@gmail.com>
 
        * Documentation/user/putting.itely: minor fixes (mostly tab->space).
index 90048cfd4fffaca19c516f6f25b2359624ebcf87..cfc81ec6291e834bc517601764af393ae596634c 100644 (file)
@@ -46,6 +46,30 @@ the @uref{../,LilyPond Documentation}
 
 
 @itemize @bullet
+
+@item Parallel editing is possible using the \parallelMusic function:  
+@lilypond[verbatim,raggedright]
+\parallelMusic #'(voiceA voiceB voiceC) {
+  %% first bar group
+  r8     g'16[ c''] e''[ g' c'' e''] r8     g'16[ c''] e''[ g' c'' e''] |
+  r16 e'8. ~        e'4              r16 e'8. ~        e'4              |
+  c'2                                c'2                                |
+  %% second bar group
+  r8     a'16[ d''] f''[ a' d'' f''] r8     a'16[ d''] f''[ a' d'' f''] |
+  r16 d'8. ~        d'4              r16 d'8. ~        d'4              |
+  c'2                                c'2                                |
+}
+\new StaffGroup <<
+  \context Staff = "up" <<
+    \new Voice { \voiceOne \voiceA }
+    \new Voice { \voiceTwo \voiceB }
+  >>
+  \context Staff = "down" <<
+    \new Voice { \clef bass \voiceC }
+  >>
+>> 
+@end lilypond
+
 @item Alignments of staves may be tuned per system.   
 @lilypond[]
 #(set-global-staff-size 13)