class Editor;
class RegionView;
-class RhythmFerret : public ArdourDialog {
- public:
+class RhythmFerret : public ArdourDialog
+{
+public:
/* order of these enums must match the _analyse_mode_strings
- in rhythm_ferret.cc
- */
+ * in rhythm_ferret.cc
+ */
enum AnalysisMode {
PercussionOnset,
NoteOnset
RhythmFerret (Editor&);
void set_session (ARDOUR::Session*);
+ void on_response (int);
- protected:
+protected:
void on_hide ();
- private:
+private:
Editor& editor;
Gtk::ComboBoxText operation_selector;
Gtk::HScale peak_picker_threshold_scale;
Gtk::Adjustment silence_threshold_adjustment;
Gtk::HScale silence_threshold_scale;
+#ifdef HAVE_AUBIO4
+ Gtk::Adjustment minioi_adjustment;
+ Gtk::HScale minioi_scale;
+#endif
/* generic stuff */
int get_note_onset_function ();
void run_analysis ();
- int run_percussion_onset_analysis (boost::shared_ptr<ARDOUR::Readable> region, ARDOUR::frameoffset_t offset, ARDOUR::AnalysisFeatureList& results);
- int run_note_onset_analysis (boost::shared_ptr<ARDOUR::Readable> region, ARDOUR::frameoffset_t offset, ARDOUR::AnalysisFeatureList& results);
+ int run_percussion_onset_analysis (boost::shared_ptr<ARDOUR::Readable> region, ARDOUR::sampleoffset_t offset, ARDOUR::AnalysisFeatureList& results);
+ int run_note_onset_analysis (boost::shared_ptr<ARDOUR::Readable> region, ARDOUR::sampleoffset_t offset, ARDOUR::AnalysisFeatureList& results);
void do_action ();
void do_split_action ();