]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performance.cc
only do staffline avoidance if we're inside the staff or inside the
[lilypond.git] / lily / performance.cc
index 6a03b02ea4a27a4d6d7d8381ae369e36d294753d..2c02fc32f94f3ff64aacab4a6dfc1bce18845982 100644 (file)
@@ -34,15 +34,13 @@ Performance::~Performance ()
 }
 
 void
-Performance::output (Midi_stream &midi_stream)
+Performance::output (Midi_stream &midi_stream) const
 {
   int tracks_ = audio_staffs_.size ();
 
-  // ugh
-  int clocks_per_4 = 384;
-
-  midi_stream << Midi_header (1, tracks_, clocks_per_4);
-  message (_ ("Track...") + " ");
+  midi_stream << Midi_header (1, tracks_, 384);
+  if (be_verbose_global)
+    progress_indication (_ ("Track...") + " ");
   
   int channel = 0;
   for (vsize i = 0; i < audio_staffs_.size (); i++)
@@ -89,7 +87,7 @@ Performance::add_element (Audio_element *p)
 }
 
 void
-Performance::write_output (string out)
+Performance::write_output (string out) const
 {
   if (out == "-")
     out = "lelie.midi";
@@ -107,3 +105,7 @@ Performance::write_output (string out)
 }
 
 
+void
+Performance::process ()
+{
+}