DescriptionMore readable \displayMusic output.
* Omit unnecessary optional arguments.
* Use rationals when printing moments (but not with grace parts, because that's ambiguous).
It would be nice to make the pretty-printed output smarter about newlines too, e.g:
(make-music 'NoteEvent
'duration (ly:make-duration 2)
'pitch (ly:make-pitch 2 3))
...but the ice-9 pretty-printer isn't customizable without shipping a modified copy. I don't think it's worth the bother.
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix durations. Print negative graces as rationals. #MessagesTotal messages: 3
|