lilypond-1.1.21
[lilypond.git] / lily / music.cc
blob8d7ce5cb881c3d4acbbc54613875fb0c86529329
1 /*
2 music.cc -- implement Music
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
10 #include "music.hh"
11 #include "music-list.hh"
12 #include "debug.hh"
13 #include "musical-pitch.hh"
15 Music::Music()
19 void
20 Music::compress (Moment)
24 void
25 Music::do_print() const
29 Moment
30 Music::duration () const
32 return 0;
35 void
36 Music::print() const
38 #ifndef NPRINT
39 if (! check_debug)
40 return ;
41 DOUT << classname(this) << "{";
42 if (translator_type_str_.length_i ())
43 DOUT << translator_type_str_ << " = " << translator_id_str_;
44 do_print();
45 DOUT << "}\n";
46 #endif
49 Musical_pitch
50 Music::to_relative_octave (Musical_pitch m)
52 return m;
55 void
56 Music::transpose (Musical_pitch )