2 new-repeated-music.hh -- declare New_repeated_music
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef NEW_REPEATED_MUSIC_HH
11 #define NEW_REPEATED_MUSIC_HH
15 class New_repeated_music : public Music
21 Music * repeat_begin_p_;
22 Music_sequence * alternatives_p_;
24 virtual Musical_pitch to_relative_octave (Musical_pitch);
26 /// The duration of this piece of music
27 virtual Moment length_mom () const;
31 /// Transpose, with the interval central C to #p#
32 virtual void transpose (Musical_pitch p);
34 /// Scale the music in time by #factor#.
35 virtual void compress (Moment factor);
36 VIRTUAL_COPY_CONS(Music);
38 New_repeated_music ();
39 New_repeated_music (New_repeated_music const&);
40 ~New_repeated_music ();
42 virtual void do_print() const;
47 #endif /* NEW_REPEATED_MUSIC_HH */