]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.3.78.jcn4
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 15 Aug 2000 21:28:35 +0000 (23:28 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 15 Aug 2000 21:28:35 +0000 (23:28 +0200)
1.3.78.jcn4
===========

* Made simple fix to get part-combiner to recognise different rhythms

CHANGES
VERSION
lily/part-combine-music-iterator.cc
mutopia/Coriolan/flauti.ly

diff --git a/CHANGES b/CHANGES
index d5e17b1feab23110744437bc292cac9b55d1690e..a3bd728da0b74b90af66ce2d8d0ceed65e30010f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+1.3.78.jcn4
+===========
+
+* Made simple fix to get part-combiner to recognise different rhythms
+
 1.3.78.jcn3
 ===========
 
diff --git a/VERSION b/VERSION
index 410f982f500273210bd7260ccb2c52c7faf5eed2..bc65a00325737f8ca764b118129c8543c8efc2ed 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=3
 PATCH_LEVEL=78
-MY_PATCH_LEVEL=jcn3
+MY_PATCH_LEVEL=jcn4
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index e0e0d0a52861afae95c8b15151afd11722ad150e..8776877b1e1f382024ce4e8f9c86cdeff38c2d96 100644 (file)
@@ -130,12 +130,8 @@ Part_combine_music_iterator::do_process_and_next (Moment m)
   /*
     TODO:
 
-    * fix rhythm check
-
-    * check setting/resetting of properties
-
-    Later (because currently, we only handle thread switching, really):
-
+    (check): can this all be handled now?
+    
     Maybe different modes exist?
 
     * Wind instruments (Flute I/II)
@@ -179,8 +175,12 @@ Part_combine_music_iterator::do_process_and_next (Moment m)
   bool solo_b = (first_arr_l->empty () != second_arr_l->empty ());
 
   /*
-    Urg, this doesn't work at all.  Do we need to send out another inquisition?
+    Urg, this won't work at end of music.  Should interrogate rhythm.
    */
+  if (first_iter_p_->ok ())
+    first_next = first_iter_p_->next_moment ();
+  if (second_iter_p_->ok ())
+    second_next = second_iter_p_->next_moment ();
   bool unirhythm_b = (first_next == second_next) && !solo_b;
 
   Translator_group * fd = fir->find_create_translator_l (p->what_str_, "one");
index 4de0fdd35391057cd699668ff5ddb720c821ce4f..83c1ea59c135b022ccfd0e43fdee33dae2e8a81d 100644 (file)
@@ -14,17 +14,19 @@ copyright =  "public domain";
 \include "flauto-1.ly"
 \include "flauto-2.ly"
 
-$flauti_staff = \context Staff = flauti <
+$flauti_staff = \notes \context Staff = flauti <
        \property Staff.midiInstrument = #"flute"
        \property Staff.instrument = #"2 Flauti"
        \property Staff.instr = #"Fl."
-       %\notes \context Voice=flauti < 
-       \notes \context Staff=flauti < 
-               \global
-               \context VoiceOne=flautoi 
-                       \$flauto1
-               \context VoiceTwo=flautoii 
-                       \$flauto2
+
+       \global
+
+       \context Voice=one { \skip 1; }
+       \context Voice=two { \skip 1; }
+
+       \context Voice=one \partcombine Voice <
+               \context Thread=one \$flauto1
+               \context Thread=two \$flauto2
        >
 >