2 music-list.hh -- declare Music_list, Chord and Voice
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
18 Music can be a list of other "Music" elements
20 class Music_list : public Music
26 Musical_pitch do_relative_octave (Musical_pitch, bool);
27 Music_list (Music_list const&);
29 DECLARE_MY_RUNTIME_TYPEINFO;
30 VIRTUAL_COPY_CONS(Music_list,Music);
31 virtual void add (Music*);
32 virtual void transpose (Musical_pitch );
34 Pointer_list<Music*> music_p_list_;
37 virtual void do_print() const;
41 Chord is a list of music-elements which happen simultaneously
44 class Chord : public Music_list
48 DECLARE_MY_RUNTIME_TYPEINFO;
49 VIRTUAL_COPY_CONS(Chord,Music);
51 virtual Musical_pitch to_relative_octave (Musical_pitch);
52 virtual void translate (Moment dt);
53 virtual MInterval time_int() const;
57 The request is a collection of Requests. A note that you enter in mudela is
58 one Request_chord, one syllable of lyrics is one Request_chord
60 class Request_chord : public Chord
63 DECLARE_MY_RUNTIME_TYPEINFO;
64 virtual Musical_pitch to_relative_octave (Musical_pitch);
66 VIRTUAL_COPY_CONS(Request_chord, Music);
69 Voice is a list of music-elements which are placed behind each other.
71 class Voice : public Music_list
76 virtual Musical_pitch to_relative_octave (Musical_pitch);
78 DECLARE_MY_RUNTIME_TYPEINFO;
79 VIRTUAL_COPY_CONS(Voice, Music);
80 virtual void translate (Moment dt);
81 virtual MInterval time_int() const;
83 #endif // MUSIC_LIST_HH