2 music-sequence.hh -- declare Music_sequence
4 source file of the GNU LilyPond music typesetter
6 (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef MUSIC_SEQUENCE_HH
11 #define MUSIC_SEQUENCE_HH
15 class Music_sequence : public Music
18 Music_sequence (SCM h);
19 VIRTUAL_COPY_CONSTRUCTOR (Music, Music_sequence);
20 DECLARE_SCHEME_CALLBACK(cumulative_length_callback, (SCM));
21 DECLARE_SCHEME_CALLBACK(maximum_length_callback, (SCM));
22 DECLARE_SCHEME_CALLBACK(minimum_start_callback, (SCM));
23 DECLARE_SCHEME_CALLBACK(first_start_callback, (SCM));
24 SCM music_list () const;
26 Pitch do_relative_octave (Pitch p, bool b);
28 static Moment cumulative_length (SCM) ;
29 static Moment maximum_length (SCM) ;
30 static Moment first_start (SCM list) ;
31 static Moment minimum_start (SCM list);
34 Pitch music_list_to_relative (SCM l,Pitch p, bool ret_first);
35 void transpose_music_list (SCM , Pitch);
36 void compress_music_list (SCM, Moment);