X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdrum-note-performer.cc;h=959d39eb9d01bca5877aecc2cb1afce034c12358;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=49a8d270018a4b08cc5c80916b7a05769b0a3395;hpb=d548c339bc07e4a707c1092507afe2d672e0457d;p=lilypond.git diff --git a/lily/drum-note-performer.cc b/lily/drum-note-performer.cc index 49a8d27001..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--2006 Jan Nieuwenhuizen + (c) 1996--2008 Jan Nieuwenhuizen */ #include "performer.hh" @@ -64,7 +64,9 @@ Drum_note_performer::process_music () tie_event = ev; } - Audio_note *p = new Audio_note (*pit, get_event_length (n), + Moment len = get_event_length (n, now_mom ()); + + Audio_note *p = new Audio_note (*pit, len, tie_event, Pitch (0, 0, 0)); Audio_element_info info (p, n); announce_element (info); @@ -90,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 */ + "" + );