]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/event-chord-iterator.cc
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / event-chord-iterator.cc
index 60e7e3081a0ba00fce334c5ec16f5527181ceae1..ea1a105ea4c7083ffbad7b52b5415361704c4892 100644 (file)
@@ -9,11 +9,11 @@
 #include "event-chord-iterator.hh"
 
 #include "context.hh"
+#include "dispatcher.hh"
 #include "duration.hh"
 #include "input.hh"
 #include "international.hh"
 #include "music.hh"
-#include "pitch.hh"
 #include "warn.hh"
 
 Event_chord_iterator::Event_chord_iterator ()
@@ -38,6 +38,12 @@ Event_chord_iterator::process (Moment m)
          Music *mus = unsmob_music (scm_car (s));
          report_event (mus);
        }
+      for (SCM s = get_music ()->get_property ("events");
+          scm_is_pair (s); s = scm_cdr (s))
+       {
+         Stream_event *ev = unsmob_stream_event (scm_car (s));
+         get_outlet ()->event_source ()->broadcast (ev);
+       }
     }
   Simple_music_iterator::process (m);
 }