]> git.donarmstrong.com Git - lilypond.git/blob - lily/music.cc
release: 1.1.29
[lilypond.git] / lily / music.cc
1 /*
2   music.cc -- implement Music
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #include "music.hh"
11 #include "music-list.hh"
12 #include "debug.hh"
13 #include "musical-pitch.hh"
14
15 Music::Music()
16 {
17 }
18
19 void    
20 Music::compress (Moment)
21 {
22 }
23
24 void
25 Music::do_print() const
26 {
27 }
28
29 Moment
30 Music::length_mom () const
31 {
32   return 0;
33 }
34
35 void
36 Music::print() const
37 {
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
47 }
48
49 Musical_pitch
50 Music::to_relative_octave (Musical_pitch m)
51 {
52   return m;
53 }
54
55 void
56 Music::transpose (Musical_pitch )
57 {
58 }
59