]> git.donarmstrong.com Git - lilypond.git/blob - lily/music.cc
1d137e4524233a4160f2fcbf7705c9376c140e5c
[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   /*
43   if  (translator_type_str_.length_i ())
44     DOUT << translator_type_str_ << " = " << translator_id_str_;
45   */
46   do_print();
47   DOUT << "}\n";
48 #endif
49 }
50
51 Musical_pitch
52 Music::to_relative_octave (Musical_pitch m)
53 {
54   return m;
55 }
56
57 Music_iterator*
58 Music::to_rhythm (Music_iterator* r)
59 {
60   return r;
61 }
62
63 void
64 Music::transpose (Musical_pitch )
65 {
66 }
67