2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 1996--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
5 Jan Nieuwenhuizen <janneke@gnu.org>
7 LilyPond is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 LilyPond is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef SCORE_PERFORMER_HH
22 #define SCORE_PERFORMER_HH
25 #include "performer-group.hh"
28 Top level performer. Completely takes care of MIDI output
30 class Score_performer : public Performer_group
33 VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Score_performer);
34 Performance *performance_;
40 DECLARE_LISTENER (finish);
41 DECLARE_LISTENER (prepare);
42 DECLARE_LISTENER (one_time_step);
44 /* Engraver_group_engraver interface */
45 virtual void connect_to_context (Context *);
46 virtual void disconnect_from_context ();
47 virtual void initialize ();
48 virtual void announce_element (Audio_element_info);
49 virtual void derived_mark () const;
50 virtual void acknowledge_audio_elements ();
52 void header (Midi_stream &);
54 Audio_column *audio_column_;
56 Moment skip_start_mom_;
60 #endif // SCORE_PERFORMER_HH