]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/performance.hh
416349371183f93905c1327dd9c1463d2c1146dd
[lilypond.git] / lily / include / performance.hh
1 /*
2   performance.hh -- declare Performance
3
4   (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
5  */
6
7 #ifndef PERFORMANCE_HH
8 #define PERFORMANCE_HH
9
10 #include "parray.hh"
11 #include "lily-proto.hh"
12 #include "cons.hh"
13 #include "music-output.hh"
14
15 /* MIDI output.  */
16 class Performance : public Music_output
17 {
18 public:
19   Performance ();
20   ~Performance ();
21
22   void add_element (Audio_element*p);
23     
24   void output (Midi_stream& midi_stream_r);
25   void output_header_track (Midi_stream& midi_stream_r);
26
27   void print () const;
28   SCM process (String);
29
30   Link_array<Audio_staff> audio_staffs_;
31   Cons<Audio_element> *audio_elem_p_list_;
32   Output_def *midi_;
33 };
34
35 #endif /* PERFORMANCE_HH */