Ardour  9.0-pre0-822-g12e3bc5c20
PatchChangeWidget Class Reference

#include <patch_change_widget.h>

Inheritance diagram for PatchChangeWidget:
[legend]

Public Member Functions

 PatchChangeWidget (std::shared_ptr< ARDOUR::Route >)
 
 ~PatchChangeWidget ()
 
void refresh ()
 
- Public Member Functions inherited from PatchBankList
 PatchBankList ()
 
virtual ~PatchBankList ()
 

Protected Member Functions

int bank (uint8_t) const
 
uint8_t program (uint8_t) const
 
void on_show ()
 
void on_hide ()
 
- Protected Member Functions inherited from PatchBankList
void refill (std::shared_ptr< MIDI::Name::ChannelNameSet >, int const bank)
 
void set_active_pgm (uint8_t)
 

Private Member Functions

void refill_banks ()
 
void select_channel (uint8_t)
 
void select_bank (uint32_t)
 
void select_program (uint8_t)
 
void instrument_info_changed ()
 
void processors_changed ()
 
void bank_changed ()
 
void program_changed ()
 
void bankpatch_changed (uint8_t)
 
void audition_toggle ()
 
void check_note_range (bool)
 
void audition ()
 
void cancel_audition ()
 
bool audition_next ()
 
void _note_on_event_handler (int, int)
 
void note_on_event_handler (int, bool for_audition)
 
void note_off_event_handler (int)
 

Private Attributes

std::shared_ptr< ARDOUR::Route_route
 
ARDOUR::InstrumentInfo_info
 
uint8_t _channel
 
bool _no_notifications
 
ArdourWidgets::ArdourDropdown _channel_select
 
ArdourWidgets::ArdourButton _audition_enable
 
Gtk::SpinButton _audition_start_spin
 
Gtk::SpinButton _audition_end_spin
 
Gtk::SpinButton _audition_velocity
 
uint8_t _audition_note_num
 
bool _audition_note_on
 
APianoKeyboard _piano
 
sigc::connection _note_queue_connection
 
PBD::ScopedConnectionList _ac_connections
 
PBD::ScopedConnectionList _route_connections
 

Additional Inherited Members

- Protected Attributes inherited from PatchBankList
ArdourWidgets::ArdourDropdown _bank_select
 
Gtk::SpinButton _bank_msb_spin
 
Gtk::SpinButton _bank_lsb_spin
 
Gtk::Table _program_table
 

Detailed Description

Definition at line 104 of file patch_change_widget.h.

Constructor & Destructor Documentation

◆ PatchChangeWidget()

PatchChangeWidget::PatchChangeWidget ( std::shared_ptr< ARDOUR::Route )

◆ ~PatchChangeWidget()

PatchChangeWidget::~PatchChangeWidget ( )

Member Function Documentation

◆ _note_on_event_handler()

void PatchChangeWidget::_note_on_event_handler ( int  ,
int   
)
private

◆ audition()

void PatchChangeWidget::audition ( )
private

◆ audition_next()

bool PatchChangeWidget::audition_next ( )
private

◆ audition_toggle()

void PatchChangeWidget::audition_toggle ( )
private

◆ bank()

int PatchChangeWidget::bank ( uint8_t  ) const
protected

◆ bank_changed()

void PatchChangeWidget::bank_changed ( )
private

◆ bankpatch_changed()

void PatchChangeWidget::bankpatch_changed ( uint8_t  )
private

◆ cancel_audition()

void PatchChangeWidget::cancel_audition ( )
private

◆ check_note_range()

void PatchChangeWidget::check_note_range ( bool  )
private

◆ instrument_info_changed()

void PatchChangeWidget::instrument_info_changed ( )
privatevirtual

Implements PatchBankList.

◆ note_off_event_handler()

void PatchChangeWidget::note_off_event_handler ( int  )
private

◆ note_on_event_handler()

void PatchChangeWidget::note_on_event_handler ( int  ,
bool  for_audition 
)
private

◆ on_hide()

void PatchChangeWidget::on_hide ( )
protected

◆ on_show()

void PatchChangeWidget::on_show ( )
protected

◆ processors_changed()

void PatchChangeWidget::processors_changed ( )
private

◆ program()

uint8_t PatchChangeWidget::program ( uint8_t  ) const
protected

◆ program_changed()

void PatchChangeWidget::program_changed ( )
private

◆ refill_banks()

void PatchChangeWidget::refill_banks ( )
private

◆ refresh()

void PatchChangeWidget::refresh ( )

◆ select_bank()

void PatchChangeWidget::select_bank ( uint32_t  )
privatevirtual

Implements PatchBankList.

◆ select_channel()

void PatchChangeWidget::select_channel ( uint8_t  )
private

◆ select_program()

void PatchChangeWidget::select_program ( uint8_t  )
privatevirtual

Implements PatchBankList.

Member Data Documentation

◆ _ac_connections

PBD::ScopedConnectionList PatchChangeWidget::_ac_connections
private

Definition at line 165 of file patch_change_widget.h.

◆ _audition_enable

ArdourWidgets::ArdourButton PatchChangeWidget::_audition_enable
private

Definition at line 151 of file patch_change_widget.h.

◆ _audition_end_spin

Gtk::SpinButton PatchChangeWidget::_audition_end_spin
private

Definition at line 153 of file patch_change_widget.h.

◆ _audition_note_num

uint8_t PatchChangeWidget::_audition_note_num
private

Definition at line 155 of file patch_change_widget.h.

◆ _audition_note_on

bool PatchChangeWidget::_audition_note_on
private

Definition at line 156 of file patch_change_widget.h.

◆ _audition_start_spin

Gtk::SpinButton PatchChangeWidget::_audition_start_spin
private

Definition at line 152 of file patch_change_widget.h.

◆ _audition_velocity

Gtk::SpinButton PatchChangeWidget::_audition_velocity
private

Definition at line 154 of file patch_change_widget.h.

◆ _channel

uint8_t PatchChangeWidget::_channel
private

Definition at line 147 of file patch_change_widget.h.

◆ _channel_select

ArdourWidgets::ArdourDropdown PatchChangeWidget::_channel_select
private

Definition at line 150 of file patch_change_widget.h.

◆ _info

ARDOUR::InstrumentInfo& PatchChangeWidget::_info
private

Definition at line 145 of file patch_change_widget.h.

◆ _no_notifications

bool PatchChangeWidget::_no_notifications
private

Definition at line 148 of file patch_change_widget.h.

◆ _note_queue_connection

sigc::connection PatchChangeWidget::_note_queue_connection
private

Definition at line 164 of file patch_change_widget.h.

◆ _piano

APianoKeyboard PatchChangeWidget::_piano
private

Definition at line 158 of file patch_change_widget.h.

◆ _route

std::shared_ptr<ARDOUR::Route> PatchChangeWidget::_route
private

Definition at line 144 of file patch_change_widget.h.

◆ _route_connections

PBD::ScopedConnectionList PatchChangeWidget::_route_connections
private

Definition at line 166 of file patch_change_widget.h.


The documentation for this class was generated from the following file: