]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/audio-score.hh
5fad1355f2ea8c600b7b6742f2bd17b91febd8ee
[lilypond.git] / lily / include / audio-score.hh
1 /*
2   audio-score.hh -- declare Audio_score
3
4   (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
5  */
6
7 #ifndef AUDIO_SCORE_HH
8 #define AUDIO_SCORE_HH
9
10 #include "lily-proto.hh"
11 #include "plist.hh"
12
13 /** all stuff which goes onto midi. notes, signs, symbols in a score
14      #Audio_score# contains the items, the columns.
15     
16     */
17
18 class Audio_score {
19 public:
20     Audio_score (Score* l);
21
22     void add (Audio_column*);
23     void add_staff (Audio_staff* l);
24     void add (Audio_element*p);
25
26     
27     void output (Midi_stream& midi_stream_r);
28     void output_header_track (Midi_stream& midi_stream_r);
29
30     void print() const;
31     void process();
32
33     Pointer_list<Audio_column*> audio_column_p_list_;
34     Link_list<Audio_staff*> audio_staff_l_list_;
35     Pointer_list<Audio_element*> audio_elem_p_list_;
36     Score* score_l_;
37 };
38
39 #endif // AUDIO_SCORE_HH