1\header {
2  texidoc = "Grace notes shorten previous notes only if they'd overlap
3them. The A should be a full quarter note, but the C should be shortened
4to 1/4 - 9/40 * 1/8 = 71/320 (rounded down to 340/384 in MIDI)."
5}
6\version "2.19.21"
7\score {
8 \relative {
9   a4 r
10   \grace b8 c8... r64
11   \grace d8 e4
12 }
13 \midi { }
14}
15