The following patch allows piano pedal events to appear in the midi
output again:

Index: piano-pedal-performer.cc
===================================================================
RCS file: /cvsroot/lilypond/lilypond/lily/piano-pedal-performer.cc,v
retrieving revision 1.45
diff -u -p -r1.45 piano-pedal-performer.cc
--- piano-pedal-performer.cc    20 Aug 2005 23:20:18 -0000      1.45
+++ piano-pedal-performer.cc    21 Dec 2005 05:39:29 -0000
@@ -84,6 +84,8 @@ Piano_pedal_performer::process_music ()
              a->type_string_ = String (p->name_);
              a->dir_ = STOP;
              audios_.push (a);
+              Audio_element_info info(a, p->event_drul_[STOP]);
+              announce_element (info);
            }
          p->start_event_ = 0;
        }
@@ -95,6 +97,8 @@ Piano_pedal_performer::process_music ()
          a->type_string_ = String (p->name_);
          a->dir_ = START;
          audios_.push (a);
+          Audio_element_info info(a, p->event_drul_[START]);
+          announce_element (info);
        }
       p->event_drul_[START] = 0;
       p->event_drul_[STOP] = 0;

-- 
Michael Welsh Duggan
([EMAIL PROTECTED])


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to