2 music-wrapper.cc -- implement Music_wrapper
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2000 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(SCM l
)
30 Music_wrapper::length_mom () const
32 return element ()->length_mom ();
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
);