2 music-sequence.hh -- declare Music_sequence
4 source file of the GNU LilyPond music typesetter
6 (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef MUSIC_SEQUENCE_HH
10 #define MUSIC_SEQUENCE_HH
17 DECLARE_SCHEME_CALLBACK (cumulative_length_callback, (SCM));
18 DECLARE_SCHEME_CALLBACK (maximum_length_callback, (SCM));
19 DECLARE_SCHEME_CALLBACK (minimum_start_callback, (SCM));
20 DECLARE_SCHEME_CALLBACK (first_start_callback, (SCM));
21 DECLARE_SCHEME_CALLBACK (simultaneous_relative_callback, (SCM, SCM));
22 DECLARE_SCHEME_CALLBACK (event_chord_relative_callback, (SCM, SCM));
24 Pitch do_relative_octave (Pitch p, bool b);
26 static Moment cumulative_length (SCM);
27 static Moment maximum_length (SCM);
28 static Moment first_start (SCM list);
29 static Moment minimum_start (SCM list);
32 SCM ly_transpose_key_alist (SCM l, SCM pit);
33 Pitch music_list_to_relative (SCM l, Pitch p, bool ret_first);
34 void transpose_music_list (SCM, Pitch);
35 void compress_music_list (SCM, Moment);