]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-book.cc
First round of tutorial updates.
[lilypond.git] / lily / paper-book.cc
index c66d1d6ae989cda7c6392a49a3096a9efea068f8..89e8b8ded33c3eaad7f28c8de1de17c5c345c1db 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2006 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2004--2007 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "paper-book.hh"
@@ -136,6 +136,13 @@ Paper_book::output (SCM output_channel)
 void
 Paper_book::classic_output (SCM output)
 {
+  if (scm_is_pair (performances_))
+    {
+      SCM proc = ly_lily_module_constant ("write-performances-midis");
+      scm_call_2 (proc, performances (), output);
+    }
+  
   /* Generate all stencils to trigger font loads.  */
   systems ();