2 // lilypond-score.hh -- declare Lilypond_score
4 // (c) 1997--2001 Jan Nieuwenhuizen <janneke@gnu.org>
6 #ifndef LILYPOND_SCORE_HH
7 #define LILYPOND_SCORE_HH
9 #include "midi2ly-proto.hh"
10 #include "flower-proto.hh"
15 class Lilypond_score {
17 Lilypond_score (int format_i, int tracks_i, int tempo_i);
20 void add_item (Lilypond_item* lilypond_item_p);
21 void add_staff (Lilypond_staff* lilypond_staff_p);
23 Lilypond_column* find_column_l (Rational mom);
24 Lilypond_column* get_column_l (Rational mom);
26 void output (String filename_str);
30 Lilypond_key* lilypond_key_l_;
31 Lilypond_time_signature* lilypond_time_signature_l_;
32 Lilypond_tempo* lilypond_tempo_l_;
33 Lilypond_staff * last_staff_l_;
36 void quantify_columns ();
37 void quantify_durations ();
38 void settle_columns ();
40 Cons_list<Lilypond_staff> lilypond_staff_p_list_;
41 Link_array<Lilypond_column> column_l_array_;
50 #endif // LILYPOND_SCORE_HH