#ifndef __gtk2_ardour_note_player_h__ #define __gtk2_ardour_note_player_h__ #include #include #include #include "evoral/Note.hpp" namespace ARDOUR { class MidiTrack; } class NotePlayer : public sigc::trackable { public: typedef Evoral::Note NoteType; NotePlayer (boost::shared_ptr); ~NotePlayer () {} void add (boost::shared_ptr); void play (); void off (); static bool _off (NotePlayer*); private: typedef std::vector > NoteList; boost::shared_ptr track; NoteList notes; }; #endif /* __gtk2_ardour_note_player_h__ */