2 score-performer.hh -- declare Score_performer
4 (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
5 Jan Nieuwenhuizen <janneke@gnu.org>
8 #ifndef SCORE_PERFORMER_HH
9 #define SCORE_PERFORMER_HH
11 #include "performer-group-performer.hh"
12 #include "score-translator.hh"
15 Top level performer. Completely takes care of MIDI output
17 class Score_performer : public Score_translator, public virtual Performer_group_performer
20 TRANSLATOR_DECLARATIONS(Score_performer);
22 Performance *performance_;
25 virtual void prepare (Moment mom);
26 virtual void finish ();
27 virtual void one_time_step ();
28 virtual void initialize ();
29 virtual void announce_element (Audio_element_info);
30 virtual int get_tempo () const;
31 virtual void play_element (Audio_element* p);
32 virtual Music_output *get_output ();
34 void header (Midi_stream&);
36 Audio_column* audio_column_;
39 #endif // SCORE_PERFORMER_HH