handle dotted notes in lilypond rendering
protect against zero durations