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.
40 Ctor of Duration. type_i should be a power of 2.
42 Duration( int type_i = 1, int dots_i = 0);
43 /// is the "plet factor" of this note != 1 ?
46 void set_plet(int,int );
47 void set_plet(Duration );
48 static bool duration_type_b(int t);
49 void set_ticks( int ticks_i );
50 Moment length() const ; // zo naai mij
51 static int division_1_i_s;