diff options
author | Robin Gareus <robin@gareus.org> | 2017-09-08 01:35:43 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-09-08 02:20:53 +0200 |
commit | a34764ec9f941b4c81366689d130fc0c37a77232 (patch) | |
tree | 1584e4825e408a915611b1e54c170a611927c26f /gtk2_ardour/patch_change_widget.h | |
parent | 637673009304a4c23d9f26442e08cbde05fafb4d (diff) |
Patch Change Audition
Diffstat (limited to 'gtk2_ardour/patch_change_widget.h')
-rw-r--r-- | gtk2_ardour/patch_change_widget.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk2_ardour/patch_change_widget.h b/gtk2_ardour/patch_change_widget.h index 89ed38062d..47661982fa 100644 --- a/gtk2_ardour/patch_change_widget.h +++ b/gtk2_ardour/patch_change_widget.h @@ -77,6 +77,19 @@ private: ARDOUR::InstrumentInfo& _info; boost::shared_ptr<MIDI::Name::PatchBank> _current_patch_bank; + + void audition_toggle (); + void check_note_range (bool); + void audition (); + void cancel_audition (); + bool audition_next (); + sigc::connection _note_queue_connection; + + ArdourWidgets::ArdourButton _audition_enable; + Gtk::SpinButton _audition_start_spin; // Consider a click-box w/note-names + Gtk::SpinButton _audition_end_spin; + uint8_t _audition_note_num; + bool _audition_note_on; }; class PatchChangeGridDialog : public ArdourDialog |