source file of the LilyPond music typesetter
- (c) 1997--1998 Jan Nieuwenhuizen <jan@digicash.com>
- Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
+ Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include <assert.h>
return t == Duration_convert::type2_i (Duration_convert::i2_type (t));
}
+void
+Duration::compress (Moment m)
+{
+ plet_.iso_i_ *= m.num_i ();
+ plet_.type_i_ *= m.den_i ();
+}
+
// ugh, what's this?
// i should be called "mom ()", ... or at least "length_mom ()"
Moment
{
return !plet_.unit_b ();
}
+