add an example script to show/hide TAVs
[ardour.git] / gtk2_ardour / note_player.h
index e5ff93e113096cec16e7e72a31c1fe4b6e201c9c..9127842732c898ebdeb827085dfd8454fcfbe92c 100644 (file)
@@ -31,14 +31,16 @@ namespace ARDOUR {
 
 class NotePlayer : public sigc::trackable {
 public:
-       typedef Evoral::Note<Evoral::MusicalTime> NoteType;
+       typedef Evoral::Note<Evoral::Beats> NoteType;
 
        NotePlayer (boost::shared_ptr<ARDOUR::MidiTrack>);
-       ~NotePlayer () {}
+       ~NotePlayer ();
 
        void add (boost::shared_ptr<NoteType>);
        void play ();
+       void on ();
        void off ();
+       void clear ();
 
        static bool _off (NotePlayer*);