2 music-wrapper.cc -- implement Music_wrapper
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
11 #include "music-wrapper.hh"
17 Music_wrapper::transpose (Pitch p
)
20 element ()-> transpose (p
);
24 Music_wrapper::Music_wrapper ()
30 Music_wrapper::get_length () const
32 return element ()->get_length ();
36 Music_wrapper::to_relative_octave (Pitch p
)
38 return element ()->to_relative_octave (p
);
43 Music_wrapper::element () const
45 return unsmob_music (get_mus_property ("element"));
49 Music_wrapper::compress (Moment m
)
51 element ()->compress (m
);
54 ADD_MUSIC (Music_wrapper
);
58 Music_wrapper::start_mom () const
60 return element ()->start_mom ();