+ void tap_tempo ();
+
+ typedef std::map<std::string,float> NoteTypes;
+ NoteTypes note_types;
+
+ typedef std::map<std::string, ARDOUR::TempoSection::Type> TempoTypes;
+ TempoTypes tempo_types;
+
+ typedef std::map<std::string, ARDOUR::PositionLockStyle> LockStyles;
+ LockStyles lock_styles;
+
+ bool tapped; // whether the tap-tempo button has been clicked
+ double sum_x, sum_xx, sum_xy, sum_y;
+ double tap_count;
+ double last_t;
+ gint64 first_t;
+
+ ARDOUR::TempoMap* _map;
+ ARDOUR::TempoSection* _section;
+
+ Gtk::ComboBoxText pulse_selector;