2 duration.hh -- declare Duration Plet
4 source file of the LilyPond music typesetter
6 (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
18 // ugh, to get me in lily lib
19 extern bool no_triplets_bo_g;
22 The type and replacement value of a plet (triplet, quintuplet.) Conceptually the same as a rational, but 4/6 != 2/3
25 Plet( int replace_i, int type_i );
29 int iso_i_; // 2/3; 2 is not duration, maar of count!
34 Class to handle "musical" durations. This means: balltype 1,2,4,etc. and dots.
39 /* actually i hate it when other people use default arguments,
40 because it makes you easily loose track of what-s really
41 happening; in the routine-s implementation you-re not aware
42 of this defaultness (who sets this stupid value?).*/
43 Duration( int type_i = 1, int dots_i = 0);
44 /// is the "plet factor" of this note != 1 ?
47 void set_plet(int,int );
48 void set_ticks( int ticks_i );
49 Moment length() const ; // zo naai mij
50 static int division_1_i_s;