[Patch] MIDI pedal events

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Patch] MIDI pedal events

Michael Welsh Duggan
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
([hidden email])


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: [Patch] MIDI pedal events

Han-Wen Nienhuys
Michael Welsh Duggan wrote:
> The following patch allows piano pedal events to appear in the midi
> output again:

thanks!  Applied.
--
  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond