X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdrum-note-performer.cc;h=ee445f5ad89aac3d14db3c510a1e47e2e8adc206;hb=38d7d319eabc906e82fb42002678c6d42a23b6f7;hp=49a8d270018a4b08cc5c80916b7a05769b0a3395;hpb=8f5cd22af76fcb5c77853a5ede8b94ebef97caef;p=lilypond.git diff --git a/lily/drum-note-performer.cc b/lily/drum-note-performer.cc index 49a8d27001..ee445f5ad8 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--2009 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 */ + "" + );