]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 6 Feb 2005 11:00:43 +0000 (11:00 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 6 Feb 2005 11:00:43 +0000 (11:00 +0000)
lily/drum-note-performer.cc
lily/include/audio-item.hh
lily/note-performer.cc

index d1b38e4b77a9299e8e12a0e20635dab5b2b5bcb8..e2f8c697eded5e72b6f047e3ff61c939dba7bb38 100644 (file)
@@ -24,7 +24,6 @@ protected:
 private:
   Link_array<Music> note_evs_;
   Link_array<Audio_note> notes_;
-  Link_array<Audio_note> delayeds_;
 };
 
 void 
@@ -60,21 +59,6 @@ Drum_note_performer::stop_translation_timestep ()
 {
   // why don't grace notes show up here?
   // --> grace notes effectively do not get delayed
-  Global_context * global = get_global_context ();
-  for (int i = 0; i < notes_.size (); i++)
-    {
-      Audio_note* n = notes_[i];
-      Moment m = n->delayed_until_mom_;
-      if (m.to_bool ())
-       {
-         global->add_moment_to_process (m);
-         delayeds_.push (n);
-         notes_[i] = 0;
-         notes_.del (i);
-         i--;
-       }
-    }
-
   Moment now = now_mom ();
   for (int i = 0; i < notes_.size (); i++)
     {
@@ -82,17 +66,6 @@ Drum_note_performer::stop_translation_timestep ()
     }
   notes_.clear ();
   note_evs_.clear ();
-  for (int i = 0; i < delayeds_.size (); i++)
-    {
-      Audio_note* n = delayeds_[i];
-      if (n->delayed_until_mom_ <= now)
-       {
-         play_element (n);
-         delayeds_[i] = 0;
-         delayeds_.del (i);
-         i--;
-       }
-    }
 }
  
 bool
index 84cdcdada2f34c0307e549833d734331e0ed2004..2dae497bdc3c1ead6696065f0207727c37d20686 100644 (file)
@@ -61,8 +61,6 @@ public:
 
   Pitch pitch_;
   Moment length_mom_;
-  Moment delayed_mom_;
-  Moment delayed_until_mom_;
   int transposing_;
   Audio_note* tied_;
 };
index 98cdbff87402b5bf3c2aaf0aaf997e7c7c4cea36..531b4788d6fd801390a0cefe54d180054f3ae191 100644 (file)
@@ -28,7 +28,6 @@ protected:
 private:
   Link_array<Music> note_evs_;
   Link_array<Audio_note> notes_;
-  Link_array<Audio_note> delayeds_;
 };
 
 void 
@@ -65,21 +64,6 @@ Note_performer::stop_translation_timestep ()
 {
   // why don't grace notes show up here?
   // --> grace notes effectively do not get delayed
-  Global_context * global = get_global_context ();
-  for (int i = 0; i < notes_.size (); i++)
-    {
-      Audio_note* n = notes_[i];
-      Moment m = n->delayed_until_mom_;
-      if (m.to_bool ())
-       {
-         global->add_moment_to_process (m);
-         delayeds_.push (n);
-         notes_[i] = 0;
-         notes_.del (i);
-         i--;
-       }
-    }
-
   Moment now = now_mom ();
   for (int i = 0; i < notes_.size (); i++)
     {
@@ -87,17 +71,6 @@ Note_performer::stop_translation_timestep ()
     }
   notes_.clear ();
   note_evs_.clear ();
-  for (int i = 0; i < delayeds_.size (); i++)
-    {
-      Audio_note* n = delayeds_[i];
-      if (n->delayed_until_mom_ <= now)
-       {
-         play_element (n);
-         delayeds_[i] = 0;
-         delayeds_.del (i);
-         i--;
-       }
-    }
 }
  
 bool