X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fmidi.scm;h=9a7bcb5e68492f981dea1e01046ae77b178bd0e4;hb=0387f04497978e37b335a8b99eec905499d6ad0f;hp=5d3277d820095e2c4deca9cd5ebc76bbd53c83a3;hpb=3635122e33a2c93a6240647b98f3e37d2cfdfe81;p=lilypond.git diff --git a/scm/midi.scm b/scm/midi.scm index 5d3277d820..9a7bcb5e68 100644 --- a/scm/midi.scm +++ b/scm/midi.scm @@ -2,7 +2,7 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 2000--2007 Jan Nieuwenhuizen +;;;; (c) 2000--2008 Jan Nieuwenhuizen @@ -284,14 +284,12 @@ returns the program of the instrument ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; -(define-public (write-performances-midis performances basename) +(define-public (write-performances-midis performances basename . rest) (let ((midi-ext (ly:get-option 'midi-extension))) (let loop ((perfs performances) - (count 0)) - - + (count (if (null? rest) 0 (car rest)))) (if (pair? perfs) (begin (ly:performance-write