]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/beaming.hh
release: 1.5.29
[lilypond.git] / lily / include / beaming.hh
index 3dcf419bf62d78c541737b96541a1047a1df70cb..ab3c4222bcb7583902159256646635fd440555d3 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -20,20 +20,23 @@ struct Beaming_info
   Drul_array<int> beams_i_drul_;
 
   Beaming_info (Moment, int);
-  int count  (Direction d);
+  int count (Direction d);
   Beaming_info ();
 };
 
+/*
+  Generate beaming given durations of notes. Beam uses this to
+  set_beaming () for each of its stems.
+*/
 struct Beaming_info_list
 {
   Array<Beaming_info> infos_;
 
   int beam_extend_count (Direction) const;
-  int min_denominator_index () const;
-  void beamify ();
+  int best_splitpoint_index (Moment &beat_length,bool subdivide) const;
+  void beamify (Moment &beat_length,bool subdivide);
   void add_stem (Moment d, int beams);
 };
 
 
 #endif /* BEAMING_HH */
-