]> git.donarmstrong.com Git - lilypond.git/commitdiff
write midis from lilypond-book too.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 3 Jan 2007 19:23:54 +0000 (20:23 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 3 Jan 2007 19:23:54 +0000 (20:23 +0100)
lily/paper-book.cc

index c66d1d6ae989cda7c6392a49a3096a9efea068f8..e53e2564a55f3657e197a0941fa72e8a5c0339dd 100644 (file)
@@ -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 ();