Guarded call to ly-score:make-audio-score with (if (include-midi?) (ly:book-add-score! score-book (ly-score:make-audio-score ... )))
so can eliminate include-midi? parameter from interface.
Also transpose? and layout parameters unused so have eliminated them from interface.