X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdrum-note-performer.cc;h=959d39eb9d01bca5877aecc2cb1afce034c12358;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=c81fca04825bcfb2de26d93eb13ecaa646378753;hpb=73b3cc9a021e7c2751eb00a9571f8c5d7b63a273;p=lilypond.git diff --git a/lily/drum-note-performer.cc b/lily/drum-note-performer.cc index c81fca0482..959d39eb9d 100644 --- a/lily/drum-note-performer.cc +++ b/lily/drum-note-performer.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1996--2007 Jan Nieuwenhuizen + (c) 1996--2008 Jan Nieuwenhuizen */ #include "performer.hh" @@ -64,13 +64,7 @@ Drum_note_performer::process_music () tie_event = ev; } - Moment len = get_event_length (n); - if (now_mom().grace_part_) - { - len.grace_part_ = len.main_part_; - len.main_part_ = Rational (0); - } - + Moment len = get_event_length (n, now_mom ()); Audio_note *p = new Audio_note (*pit, len, tie_event, Pitch (0, 0, 0)); @@ -98,4 +92,15 @@ Drum_note_performer::listen_note (Stream_event *ev) } ADD_TRANSLATOR (Drum_note_performer, - "Play drum notes.", "", "", ""); + /* doc */ + "Play drum notes.", + + /* create */ + "", + + /* read */ + "", + + /* write */ + "" + );