X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdrum-note-performer.cc;h=b31727ebc7d528508863f5c970ae87c2e4cd5557;hb=459eaca545c77f37c5aaf64ec71b2005e25de224;hp=1e64ef6c3a9d7b408a1a8ab753c305cb347039b9;hpb=a276a19dc6bd57832db3107f2f2cbb04cb4677b6;p=lilypond.git diff --git a/lily/drum-note-performer.cc b/lily/drum-note-performer.cc index 1e64ef6c3a..b31727ebc7 100644 --- a/lily/drum-note-performer.cc +++ b/lily/drum-note-performer.cc @@ -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 */ + "" + );