PatchChangeDialog (
const ARDOUR::BeatsFramesConverter *,
ARDOUR::Session *,
- Evoral::PatchChange<Evoral::MusicalTime> const &,
+ Evoral::PatchChange<Evoral::Beats> const &,
ARDOUR::InstrumentInfo&,
const Gtk::BuiltinStockID &,
bool allow_delete = false
);
- Evoral::PatchChange<Evoral::MusicalTime> patch () const;
+ Evoral::PatchChange<Evoral::Beats> patch () const;
private:
void fill_bank_combo ();
void bank_changed ();
void program_changed ();
+ int get_14bit_bank () const;
+
const ARDOUR::BeatsFramesConverter* _time_converter;
- ARDOUR::InstrumentInfo& _info;
+ ARDOUR::InstrumentInfo& _info;
AudioClock _time;
Gtk::SpinButton _channel;
Gtk::SpinButton _program;
- Gtk::SpinButton _bank;
+ Gtk::SpinButton _bank_msb;
+ Gtk::SpinButton _bank_lsb;
Gtk::ComboBoxText _bank_combo;
Gtk::ComboBoxText _patch_combo;
boost::shared_ptr<MIDI::Name::PatchBank> _current_patch_bank;
bool _ignore_signals;
- void instrument_info_changed ();
- PBD::ScopedConnection _info_changed_connection;
+ void instrument_info_changed ();
+ PBD::ScopedConnection _info_changed_connection;
};