Ardour  9.0-pre0-582-g084a23a80d
MidiTimeAxisView Class Reference

#include <midi_time_axis.h>

Inheritance diagram for MidiTimeAxisView:
[legend]

Public Member Functions

 MidiTimeAxisView (PublicEditor &, ARDOUR::Session *, ArdourCanvas::Canvas &canvas)
 
virtual ~MidiTimeAxisView ()
 
void set_route (std::shared_ptr< ARDOUR::Route >)
 
MidiStreamViewmidi_view ()
 
void set_height (uint32_t, TrackHeightMode m=OnlySelf, bool from_idle=false)
 
void set_layer_display (LayerDisplay d)
 
std::shared_ptr< ARDOUR::MidiRegionadd_region (Temporal::timepos_t const &, Temporal::timecnt_t const &, bool)
 
void show_all_automation (bool apply_to_selection=false)
 
void show_existing_automation (bool apply_to_selection=false)
 
void create_automation_child (const Evoral::Parameter &param, bool show)
 
void get_regions_with_selected_data (RegionSelection &)
 
bool paste (Temporal::timepos_t const &, const Selection &, PasteContext &ctx)
 
ARDOUR::NoteMode note_mode () const
 
ARDOUR::ColorMode color_mode () const
 
Gtk::CheckMenuItemautomation_child_menu_item (Evoral::Parameter)
 
StepEditorstep_editor ()
 
void check_step_edit ()
 
void first_idle ()
 
void set_note_highlight (uint8_t note)
 
uint8_t get_preferred_midi_channel () const
 
void get_per_region_note_selection (std::list< std::pair< PBD::ID, std::set< std::shared_ptr< Evoral::Note< Temporal::Beats > > > > > &)
 
void use_midnam_info ()
 
void set_visibility_note_range (MidiStreamView::VisibleNoteRange range, bool apply_to_selection=false)
 
- Public Member Functions inherited from RouteTimeAxisView
 RouteTimeAxisView (PublicEditor &, ARDOUR::Session *, ArdourCanvas::Canvas &canvas)
 
virtual ~RouteTimeAxisView ()
 
std::string name () const
 
Gdk::Color color () const
 
bool marked_for_display () const
 
bool set_marked_for_display (bool)
 
std::shared_ptr< ARDOUR::Stripablestripable () const
 
void set_route (std::shared_ptr< ARDOUR::Route >)
 
void show_selection (TimeSelection &)
 
void set_button_names ()
 
void set_samples_per_pixel (double)
 
void set_height (uint32_t h, TrackHeightMode m=OnlySelf, bool from_idle=false)
 
void show_timestretch (Temporal::timepos_t const &start, Temporal::timepos_t const &end, int layers, int layer)
 
void hide_timestretch ()
 
void selection_click (GdkEventButton *)
 
void set_selected_points (PointSelection &)
 
void set_selected_regionviews (RegionSelection &)
 
void _get_selectables (Temporal::timepos_t const &, Temporal::timepos_t const &, double top, double bot, std::list< Selectable * > &, bool within)
 
void get_inverted_selectables (Selection &, std::list< Selectable * > &)
 
void get_regionviews_at_or_after (Temporal::timepos_t const &, RegionSelection &)
 
void toggle_layer_display ()
 
LayerDisplay layer_display () const
 
std::shared_ptr< ARDOUR::Regionfind_next_region (ARDOUR::timepos_t const &pos, ARDOUR::RegionPoint, int32_t dir)
 
ARDOUR::timepos_t find_next_region_boundary (ARDOUR::timepos_t const &pos, int32_t dir)
 
void cut_copy_clear (Selection &, Editing::CutCopyOp)
 
bool paste (Temporal::timepos_t const &, const Selection &, PasteContext &ctx)
 
RegionViewcombine_regions ()
 
void uncombine_regions ()
 
void uncombine_region (RegionView *)
 
void toggle_automation_track (const Evoral::Parameter &param)
 
void fade_range (TimeSelection &)
 
int set_state (const XMLNode &, int version)
 
virtual std::shared_ptr< AutomationTimeAxisViewautomation_child (Evoral::Parameter param, PBD::ID ctrl_id=PBD::ID(0))
 
StreamViewview () const
 
ARDOUR::RouteGrouproute_group () const
 
std::shared_ptr< ARDOUR::Playlistplaylist () const
 
void fast_update ()
 
void hide_meter ()
 
void show_meter ()
 
void reset_meter ()
 
void clear_meter ()
 
void io_changed (ARDOUR::IOChange, void *)
 
void chan_count_changed ()
 
void meter_changed ()
 
void effective_gain_display ()
 
std::string state_id () const
 
void show_all_automation (bool apply_to_selection=false)
 
void show_existing_automation (bool apply_to_selection=false)
 
void hide_all_automation (bool apply_to_selection=false)
 
- Public Member Functions inherited from RouteUI
 RouteUI (ARDOUR::Session *)
 
virtual ~RouteUI ()
 
std::shared_ptr< ARDOUR::Stripablestripable () const
 
virtual void set_session (ARDOUR::Session *)
 
bool is_track () const
 
bool is_master () const
 
bool is_foldbackbus () const
 
bool is_singleton () const
 
bool is_audio_track () const
 
bool is_midi_track () const
 
bool has_audio_outputs () const
 
std::shared_ptr< ARDOUR::Routeroute () const
 
ARDOUR::RouteGrouproute_group () const
 
std::shared_ptr< ARDOUR::Tracktrack () const
 
std::shared_ptr< ARDOUR::AudioTrackaudio_track () const
 
std::shared_ptr< ARDOUR::MidiTrackmidi_track () const
 
Gdk::Color route_color () const
 
Gdk::Color route_color_tint () const
 
void edit_input_configuration ()
 
void edit_output_configuration ()
 
void select_midi_patch ()
 
void choose_color ()
 
void route_rename ()
 
void manage_pins ()
 
void duplicate_selected_routes ()
 
void toggle_step_edit ()
 
void toggle_denormal_protection ()
 
void save_as_template ()
 
bool mute_press (GdkEventButton *)
 
bool mute_release (GdkEventButton *)
 
bool solo_press (GdkEventButton *)
 
bool solo_release (GdkEventButton *)
 
bool rec_enable_press (GdkEventButton *)
 
bool rec_enable_release (GdkEventButton *)
 
bool show_sends_press (GdkEventButton *)
 
bool show_sends_release (GdkEventButton *)
 
bool solo_isolate_button_release (GdkEventButton *)
 
bool solo_safe_button_release (GdkEventButton *)
 
bool monitor_release (GdkEventButton *, ARDOUR::MonitorChoice)
 
bool monitor_input_press (GdkEventButton *)
 
bool monitor_input_release (GdkEventButton *)
 
bool monitor_disk_press (GdkEventButton *)
 
bool monitor_disk_release (GdkEventButton *)
 
void update_monitoring_display ()
 
void open_comment_editor ()
 
void toggle_comment_editor ()
 
void comment_changed ()
 
void set_route_active (bool, bool)
 
void set_disk_io_point (ARDOUR::DiskIOPoint)
 
void fan_out (bool to_busses=true, bool group=true)
 
void set_time_domain (Temporal::TimeDomain, bool)
 
void clear_time_domain (bool)
 
void use_new_playlist (std::string name, std::string group_id, std::vector< std::shared_ptr< ARDOUR::Playlist > > const &, bool copy)
 
void clear_playlist ()
 
void use_playlist (Gtk::RadioMenuItem *item, std::weak_ptr< ARDOUR::Playlist > wpl)
 
void select_playlist_matching (std::weak_ptr< ARDOUR::Playlist > wpl)
 
void show_playlist_selector ()
 
- Public Member Functions inherited from Selectable
 Selectable ()
 
virtual ~Selectable ()
 
virtual bool selected () const
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from StripableTimeAxisView
 StripableTimeAxisView (PublicEditor &, ARDOUR::Session *, ArdourCanvas::Canvas &canvas)
 
virtual ~StripableTimeAxisView ()
 
void set_stripable (std::shared_ptr< ARDOUR::Stripable >)
 
std::shared_ptr< ARDOUR::Stripablestripable () const
 
const AutomationTracksautomation_tracks () const
 
void request_redraw ()
 
- Public Member Functions inherited from TimeAxisView
 TimeAxisView (ARDOUR::Session *sess, PublicEditor &ed, TimeAxisView *parent, ArdourCanvas::Canvas &canvas)
 
virtual ~TimeAxisView ()
 
int order () const
 
ArdourCanvas::Containercanvas_display ()
 
ArdourCanvas::Containerghost_group ()
 
uint32_t effective_height () const
 
double y_position () const
 
PublicEditoreditor () const
 
uint32_t current_height () const
 
void idle_resize (int32_t)
 
virtual guint32 show_at (double y, int &nth, Gtk::VBox *parent)
 
virtual void hide ()
 
bool touched (double top, double bot)
 
bool hidden () const
 
void set_selected (bool)
 
virtual bool selectable () const
 
virtual void entered ()
 
virtual void exited ()
 
void set_height_enum (Height, bool apply_to_selection=false)
 
void reset_height ()
 
virtual void reset_visual_state ()
 
std::pair< TimeAxisView *, double > covers_y_position (double) const
 
bool covered_by_y_range (double y0, double y1) const
 
virtual void step_height (bool)
 
virtual void hide_selection ()
 
virtual void reshow_selection (TimeSelection &)
 
void order_selection_trims (ArdourCanvas::Item *item, bool put_start_on_top)
 
void _get_selectables (Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list< Selectable * > &, bool within)
 
void get_inverted_selectables (Selection &, std::list< Selectable * > &results)
 
void add_ghost (RegionView *)
 
void remove_ghost (RegionView *)
 
void erase_ghost (GhostRegion *)
 
TimeAxisViewget_parent ()
 
void set_parent (TimeAxisView &p)
 
Children get_child_list () const
 
- Public Member Functions inherited from AxisView
virtual std::shared_ptr< ARDOUR::AutomationControlcontrol () const
 
std::string gui_property (const std::string &property_name) const
 
bool get_gui_property (const std::string &property_name, std::string &value) const
 
template<typename T >
bool get_gui_property (const std::string &property_name, T &value) const
 
template<typename T >
bool get_gui_property (const std::string &state_id, const std::string &property_name, T &value) const
 
void set_gui_property (const std::string &property_name, const std::string &value)
 
void remove_gui_property (const std::string &property_name)
 
void set_gui_property (const std::string &property_name, const char *value)
 
template<typename T >
void set_gui_property (const std::string &property_name, const T &value)
 
void cleanup_gui_properties ()
 
void clear_property_cache ()
 
- Public Member Functions inherited from SelectableOwner
 SelectableOwner ()
 
virtual ~SelectableOwner ()
 
void get_selectables (Temporal::timepos_t const &start, Temporal::timepos_t const &end, double x, double y, std::list< Selectable * > &sl, bool within=false)
 

Protected Member Functions

void start_step_editing ()
 
void stop_step_editing ()
 
void processors_changed (ARDOUR::RouteProcessorChange)
 
- Protected Member Functions inherited from RouteTimeAxisView
void update_diskstream_display ()
 
bool route_group_click (GdkEventButton *)
 
virtual void add_processor_to_subplugin_menu (std::weak_ptr< ARDOUR::Processor >)
 
void remove_processor_automation_node (ProcessorAutomationNode *pan)
 
void processor_menu_item_toggled (RouteTimeAxisView::ProcessorAutomationInfo *, RouteTimeAxisView::ProcessorAutomationNode *)
 
void processor_automation_track_hidden (ProcessorAutomationNode *, std::shared_ptr< ARDOUR::Processor >)
 
ProcessorAutomationNodefind_processor_automation_node (std::shared_ptr< ARDOUR::Processor > i, Evoral::Parameter)
 
Gtk::CheckMenuItemfind_menu_item_by_ctrl (std::shared_ptr< ARDOUR::AutomationControl >)
 
std::shared_ptr< AutomationTimeAxisViewfind_atav_by_ctrl (std::shared_ptr< ARDOUR::AutomationControl >, bool route_owned_only=true)
 
std::shared_ptr< EditorAutomationLinefind_processor_automation_curve (std::shared_ptr< ARDOUR::Processor > i, Evoral::Parameter)
 
void add_processor_automation_curve (std::shared_ptr< ARDOUR::Processor > r, Evoral::Parameter)
 
void add_existing_processor_automation_curves (std::weak_ptr< ARDOUR::Processor >)
 
std::shared_ptr< AutomationLineautomation_child_by_alist_id (PBD::ID)
 
void reset_processor_automation_curves ()
 
void take_name_changed (void *src)
 
void route_property_changed (const PBD::PropertyChange &)
 
void route_active_changed ()
 
bool name_entry_changed (std::string const &)
 
void blink_rec_display (bool onoff)
 
virtual void label_view ()
 
void build_display_menu ()
 
void set_align_choice (Gtk::RadioMenuItem *, ARDOUR::AlignChoice, bool apply_to_selection=false)
 
bool playlist_click (GdkEventButton *)
 
void playlist_changed ()
 
bool automation_click (GdkEventButton *)
 
void timestretch (samplepos_t start, samplepos_t end)
 
void speed_changed ()
 
void map_frozen ()
 
void color_handler ()
 
void region_view_added (RegionView *)
 
void create_gain_automation_child (const Evoral::Parameter &, bool)
 
void create_trim_automation_child (const Evoral::Parameter &, bool)
 
void create_mute_automation_child (const Evoral::Parameter &, bool)
 
void setup_processor_menu_and_curves ()
 
void route_color_changed ()
 
bool can_edit_name () const
 
void post_construct ()
 
void layer_display_menu_change (Gtk::MenuItem *item)
 
void update_pan_track_visibility ()
 
void ensure_pan_views (bool show=true)
 
- Protected Member Functions inherited from RouteUI
virtual void set_color (uint32_t c)
 
void disconnect_input ()
 
void disconnect_output ()
 
int set_color_from_route ()
 
void init ()
 
void reset ()
 
virtual void self_delete ()
 
virtual void route_rec_enable_changed ()
 
virtual void create_sends (ARDOUR::Placement, bool)
 
virtual void create_selected_sends (ARDOUR::Placement, bool)
 
virtual void bus_send_display_changed (std::shared_ptr< ARDOUR::Route >)
 
bool mark_hidden (bool yn)
 
void setup_invert_buttons ()
 
void update_phase_invert_sensitivty ()
 
bool verify_new_route_name (const std::string &name)
 
void check_rec_enable_sensitivity ()
 
void route_gui_changed (PBD::PropertyChange const &)
 
PatchChangeGridDialogpatch_change_dialog () const
 
std::string playlist_tip () const
 
void build_playlist_menu ()
 
void show_playlist_copy_selector ()
 
void show_playlist_share_selector ()
 
void show_playlist_steal_selector ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Member Functions inherited from StripableTimeAxisView
void reset_samples_per_pixel ()
 
void add_automation_child (Evoral::Parameter param, std::shared_ptr< AutomationTimeAxisView > track, bool show=true)
 
void automation_track_hidden (Evoral::Parameter param)
 
void update_gain_track_visibility ()
 
void update_trim_track_visibility ()
 
void update_mute_track_visibility ()
 
- Protected Member Functions inherited from TimeAxisView
void begin_name_edit ()
 
void end_name_edit (std::string, int)
 
virtual bool controls_ebox_button_release (GdkEventButton *)
 
virtual bool controls_ebox_scroll (GdkEventScroll *)
 
virtual bool controls_ebox_button_press (GdkEventButton *)
 
virtual bool controls_ebox_motion (GdkEventMotion *)
 
virtual bool controls_ebox_leave (GdkEventCrossing *)
 
virtual bool handle_display_menu_map_event (GdkEventAny *)
 
bool is_child (TimeAxisView *)
 
virtual bool propagate_time_selection () const
 
void add_child (std::shared_ptr< TimeAxisView >)
 
void color_handler ()
 
void parameter_changed (std::string const &)
 
void conditionally_add_to_selection ()
 
void build_size_menu ()
 
- Protected Member Functions inherited from AxisView
 AxisView ()
 
virtual ~AxisView ()
 
void set_name_ellipsize_mode ()
 

Private Member Functions

void _midnam_channel_changed ()
 
void setup_midnam_patches ()
 
void maybe_trigger_model_change ()
 
void model_changed (const std::string &model)
 
void custom_device_mode_changed (const std::string &mode)
 
void append_extra_display_menu_items ()
 
void build_automation_action_menu (bool)
 
Gtk::Menubuild_note_mode_menu ()
 
Gtk::Menubuild_color_mode_menu ()
 
void set_note_mode (ARDOUR::NoteMode mode, bool apply_to_selection=false)
 
void set_color_mode (ARDOUR::ColorMode, bool force=false, bool redisplay=true, bool apply_to_selection=false)
 
void route_active_changed ()
 
void note_range_changed ()
 
void parameter_changed (std::string const &)
 
void update_scroomer_visbility (uint32_t, LayerDisplay)
 
void update_control_names ()
 
void update_midi_controls_visibility (uint32_t)
 
void change_all_channel_tracks_visibility (bool yn, Evoral::Parameter param)
 
void add_basic_parameter_menu_item (Gtk::Menu_Helpers::MenuList &items, const std::string &label, Evoral::Parameter param)
 
void add_channel_command_menu_item (Gtk::Menu_Helpers::MenuList &items, const std::string &label, ARDOUR::AutomationType auto_type, uint8_t cmd)
 
void add_single_channel_controller_item (Gtk::Menu_Helpers::MenuList &ctl_items, int ctl, const std::string &name)
 
void add_multi_channel_controller_item (Gtk::Menu_Helpers::MenuList &ctl_items, uint16_t channels, int ctl, const std::string &name)
 
void build_controller_menu ()
 
void toggle_restore_pgm_on_load ()
 
void toggle_channel_selector ()
 
void channel_selector_hidden ()
 
void set_channel_mode (ARDOUR::ChannelMode, uint16_t)
 
void set_note_selection (uint8_t note)
 
void add_note_selection (uint8_t note)
 
void extend_note_selection (uint8_t note)
 
void toggle_note_selection (uint8_t note)
 
void set_note_selection_region_view (RegionView *rv, uint8_t note, uint16_t chn_mask)
 
void add_note_selection_region_view (RegionView *rv, uint8_t note, uint16_t chn_mask)
 
void extend_note_selection_region_view (RegionView *, uint8_t note, uint16_t chn_mask)
 
void toggle_note_selection_region_view (RegionView *, uint8_t note, uint16_t chn_mask)
 
void get_per_region_note_selection_region_view (RegionView *, std::list< std::pair< PBD::ID, std::set< std::shared_ptr< Evoral::Note< Temporal::Beats > > > > > &)
 
void ensure_step_editor ()
 
void create_velocity_automation_child (Evoral::Parameter const &, bool show)
 
void update_patch_selector ()
 
void mouse_mode_changed ()
 

Private Attributes

sigc::signal< void, std::string, std::string > _midi_patch_settings_changed
 
sigc::connection _note_range_changed_connection
 
bool _ignore_signals
 
bool _asked_all_automation
 
std::string _effective_model
 
std::string _effective_mode
 
PianoRollHeader_piano_roll_header
 
ARDOUR::NoteMode _note_mode
 
Gtk::RadioMenuItem_note_mode_item
 
Gtk::RadioMenuItem_percussion_mode_item
 
ARDOUR::ColorMode _color_mode
 
Gtk::RadioMenuItem_meter_color_mode_item
 
Gtk::RadioMenuItem_channel_color_mode_item
 
Gtk::RadioMenuItem_track_color_mode_item
 
Gtk::VBox _midi_controls_box
 
MidiChannelSelectorWindow_channel_selector
 
ArdourWidgets::ArdourDropdown _midnam_model_selector
 
ArdourWidgets::ArdourDropdown _midnam_custom_device_mode_selector
 
ArdourWidgets::ArdourDropdown _midnam_channel_selector
 
Gtk::CheckMenuItem_step_edit_item
 
Gtk::Menudefault_channel_menu
 
Gtk::Menucontroller_menu
 
ParameterMenuMap _channel_command_menu_map
 
ParameterMenuMap _controller_menu_map
 
StepEditor_step_editor
 
std::shared_ptr< AutomationTimeAxisViewvelocity_track
 
Gtk::CheckMenuItemvelocity_menu_item
 
PBD::ScopedConnection mouse_mode_connection
 

Additional Inherited Members

- Public Types inherited from StripableTimeAxisView
typedef std::map< Evoral::Parameter, std::shared_ptr< AutomationTimeAxisView > > AutomationTracks
 
- Public Types inherited from TimeAxisView
enum  TrackHeightMode { OnlySelf , TotalHeight , HeightPerLane }
 
typedef std::vector< std::shared_ptr< TimeAxisView > > Children
 
- Static Public Member Functions inherited from RouteUI
static Gtkmm2ext::ActiveState solo_active_state (std::shared_ptr< ARDOUR::Stripable >)
 
static Gtkmm2ext::ActiveState solo_isolate_active_state (std::shared_ptr< ARDOUR::Stripable >)
 
static Gtkmm2ext::ActiveState solo_safe_active_state (std::shared_ptr< ARDOUR::Stripable >)
 
static Gtkmm2ext::ActiveState mute_active_state (ARDOUR::Session *, std::shared_ptr< ARDOUR::Stripable >)
 
- Static Public Member Functions inherited from TimeAxisView
static void setup_sizes ()
 
static int max_order ()
 
static uint32_t preset_height (Height)
 
- Static Public Member Functions inherited from AxisView
static GUIObjectStategui_object_state ()
 
static Gdk::Color round_robin_palette_color ()
 
- Public Attributes inherited from AxisView
sigc::signal< void > Hiding
 
- Static Public Attributes inherited from RouteTimeAxisView
static sigc::signal< void, bool > signal_ctrl_touched
 
- Static Public Attributes inherited from TimeAxisView
static PBD::Signal< void(TimeAxisView *)> CatchDeletion
 
- Protected Types inherited from RouteTimeAxisView
typedef std::vector< std::shared_ptr< EditorAutomationLine > > ProcessorAutomationCurves
 
- Protected Types inherited from RouteUI
typedef std::map< PBD::ID, IOSelectorWindow * > IOSelectorMap
 
- Protected Types inherited from StripableTimeAxisView
typedef std::map< Evoral::Parameter, Gtk::CheckMenuItem * > ParameterMenuMap
 
- Static Protected Member Functions inherited from RouteUI
static void delete_ioselector (IOSelectorMap &, std::shared_ptr< ARDOUR::Route >)
 
static void help_count_plugins (std::weak_ptr< ARDOUR::Processor > p, uint32_t *)
 
static void set_showing_sends_to (std::shared_ptr< ARDOUR::Route >)
 
- Protected Attributes inherited from RouteTimeAxisView
StreamView_view
 
Gtk::HBox other_button_hbox
 
Gtk::Table button_table
 
ArdourWidgets::ArdourButton route_group_button
 
ArdourWidgets::ArdourButton playlist_button
 
ArdourWidgets::ArdourButton automation_button
 
ArdourWidgets::ArdourButton number_label
 
Gtk::Menu subplugin_menu
 
Gtk::Menuautomation_action_menu
 
Gtk::MenuItemplugins_submenu_item
 
RouteGroupMenuroute_group_menu
 
Gtk::MenuItemoverlaid_menu_item
 
Gtk::MenuItemstacked_menu_item
 
ArdourCanvas::Rectangletimestretch_rect
 
std::list< ProcessorAutomationInfo * > processor_automation
 
std::map< std::shared_ptr< PBD::Controllable >, Gtk::CheckMenuItem * > ctrl_item_map
 
ProcessorAutomationCurves processor_automation_curves
 
ParameterMenuMap _subplugin_menu_map
 
GainMeterBase gm
 
bool _ignore_set_layer_display
 
std::list< std::shared_ptr< AutomationTimeAxisView > > pan_tracks
 
Gtk::CheckMenuItempan_automation_item
 
- Protected Attributes inherited from RouteUI
Gtk::HBox invert_button_box
 
ArdourWidgets::ArdourButtonmute_button
 
ArdourWidgets::ArdourButtonsolo_button
 
ArdourWidgets::ArdourButtonrec_enable_button
 
ArdourWidgets::ArdourButtonshow_sends_button
 
ArdourWidgets::ArdourButtonmonitor_input_button
 
ArdourWidgets::ArdourButtonmonitor_disk_button
 
ArdourWidgets::ArdourButtonsolo_safe_led
 
ArdourWidgets::ArdourButtonsolo_isolated_led
 
Gtk::Menumute_menu
 
Gtk::Menusolo_menu
 
Gtk::Menusends_menu
 
std::shared_ptr< ARDOUR::Route_route
 
std::shared_ptr< ARDOUR::Delivery_current_delivery
 
Gtk::CheckMenuItempre_fader_mute_check
 
Gtk::CheckMenuItempost_fader_mute_check
 
Gtk::CheckMenuItemlisten_mute_check
 
Gtk::CheckMenuItemmain_mute_check
 
Gtk::CheckMenuItemsurround_mute_check
 
Gtk::CheckMenuItemsolo_safe_check
 
Gtk::CheckMenuItemsolo_isolated_check
 
PBD::ScopedConnectionList route_connections
 
PBD::ScopedConnectionList send_connections
 
bool self_destruct
 
Gtk::Menuplaylist_action_menu
 
Gtk::CheckMenuItemdenormal_menu_item
 
ARDOUR::SoloMuteRelease_solo_release
 
ARDOUR::SoloMuteRelease_mute_release
 
ArdourWindow_comment_window
 
- Protected Attributes inherited from Selectable
bool _selected
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 
- Protected Attributes inherited from StripableTimeAxisView
std::shared_ptr< ARDOUR::Stripable_stripable
 
std::shared_ptr< AutomationTimeAxisViewgain_track
 
std::shared_ptr< AutomationTimeAxisViewtrim_track
 
std::shared_ptr< AutomationTimeAxisViewmute_track
 
ParameterMenuMap _main_automation_menu_map
 
Gtk::CheckMenuItemgain_automation_item
 
Gtk::CheckMenuItemtrim_automation_item
 
Gtk::CheckMenuItemmute_automation_item
 
AutomationTracks _automation_tracks
 
ArdourCanvas::Canvasparent_canvas
 
bool no_redraw
 
- Protected Attributes inherited from TimeAxisView
Gtk::Table controls_table
 
Glib::RefPtr< Gtk::SizeGroupcontrols_button_size_group
 
Gtk::EventBox controls_ebox
 
Gtk::VBox controls_vbox
 
Gtk::VBox time_axis_vbox
 
Gtk::HBox time_axis_hbox
 
Gtk::Frame time_axis_frame
 
Gtk::HBox top_hbox
 
Gtk::Fixed scroomer_placeholder
 
bool _name_editing
 
uint32_t height
 
std::string controls_base_unselected_name
 
std::string controls_base_selected_name
 
Gtk::Menudisplay_menu
 
TimeAxisViewparent
 
ArdourCanvas::Containerselection_group
 
ArdourCanvas::Container_ghost_group
 
std::list< GhostRegion * > ghosts
 
std::list< SelectionRect * > free_selection_rects
 
std::list< SelectionRect * > used_selection_rects
 
bool _hidden
 
bool in_destructor
 
Gtk::Menu_size_menu
 
ArdourCanvas::Line_canvas_separator
 
ArdourCanvas::Container_canvas_display
 
double _y_position
 
PublicEditor_editor
 
Children children
 
- Protected Attributes inherited from AxisView
Gtk::Label name_label
 
Gtk::Label inactive_label
 
Gtk::Table inactive_table
 
std::unordered_map< std::string, std::string > property_hashtable
 
- Static Protected Attributes inherited from RouteUI
static IOSelectorMap input_selectors
 
static IOSelectorMap output_selectors
 
static std::string program_port_prefix
 
- Static Protected Attributes inherited from TimeAxisView
static Glib::RefPtr< Gtk::SizeGroupcontrols_meters_size_group
 
static Glib::RefPtr< Gtk::SizeGroupmidi_scroomer_size_group
 
static unsigned int name_width_px
 

Detailed Description

Definition at line 76 of file midi_time_axis.h.

Constructor & Destructor Documentation

◆ MidiTimeAxisView()

MidiTimeAxisView::MidiTimeAxisView ( PublicEditor ,
ARDOUR::Session ,
ArdourCanvas::Canvas canvas 
)

◆ ~MidiTimeAxisView()

virtual MidiTimeAxisView::~MidiTimeAxisView ( )
virtual

Member Function Documentation

◆ _midnam_channel_changed()

void MidiTimeAxisView::_midnam_channel_changed ( )
private

◆ add_basic_parameter_menu_item()

void MidiTimeAxisView::add_basic_parameter_menu_item ( Gtk::Menu_Helpers::MenuList items,
const std::string &  label,
Evoral::Parameter  param 
)
private

◆ add_channel_command_menu_item()

void MidiTimeAxisView::add_channel_command_menu_item ( Gtk::Menu_Helpers::MenuList items,
const std::string &  label,
ARDOUR::AutomationType  auto_type,
uint8_t  cmd 
)
private

◆ add_multi_channel_controller_item()

void MidiTimeAxisView::add_multi_channel_controller_item ( Gtk::Menu_Helpers::MenuList ctl_items,
uint16_t  channels,
int  ctl,
const std::string &  name 
)
private

◆ add_note_selection()

void MidiTimeAxisView::add_note_selection ( uint8_t  note)
private

◆ add_note_selection_region_view()

void MidiTimeAxisView::add_note_selection_region_view ( RegionView rv,
uint8_t  note,
uint16_t  chn_mask 
)
private

◆ add_region()

std::shared_ptr<ARDOUR::MidiRegion> MidiTimeAxisView::add_region ( Temporal::timepos_t const &  ,
Temporal::timecnt_t const &  ,
bool   
)

◆ add_single_channel_controller_item()

void MidiTimeAxisView::add_single_channel_controller_item ( Gtk::Menu_Helpers::MenuList ctl_items,
int  ctl,
const std::string &  name 
)
private

◆ append_extra_display_menu_items()

void MidiTimeAxisView::append_extra_display_menu_items ( )
privatevirtual

Reimplemented from RouteTimeAxisView.

◆ automation_child_menu_item()

Gtk::CheckMenuItem* MidiTimeAxisView::automation_child_menu_item ( Evoral::Parameter  )
virtual

Reimplemented from RouteTimeAxisView.

◆ build_automation_action_menu()

void MidiTimeAxisView::build_automation_action_menu ( bool  )
privatevirtual

Reimplemented from RouteTimeAxisView.

◆ build_color_mode_menu()

Gtk::Menu* MidiTimeAxisView::build_color_mode_menu ( )
private

◆ build_controller_menu()

void MidiTimeAxisView::build_controller_menu ( )
private

◆ build_note_mode_menu()

Gtk::Menu* MidiTimeAxisView::build_note_mode_menu ( )
private

◆ change_all_channel_tracks_visibility()

void MidiTimeAxisView::change_all_channel_tracks_visibility ( bool  yn,
Evoral::Parameter  param 
)
private

◆ channel_selector_hidden()

void MidiTimeAxisView::channel_selector_hidden ( )
private

◆ check_step_edit()

void MidiTimeAxisView::check_step_edit ( )

◆ color_mode()

ARDOUR::ColorMode MidiTimeAxisView::color_mode ( ) const
inline

Definition at line 100 of file midi_time_axis.h.

◆ create_automation_child()

void MidiTimeAxisView::create_automation_child ( const Evoral::Parameter param,
bool  show 
)
virtual

Implements StripableTimeAxisView.

◆ create_velocity_automation_child()

void MidiTimeAxisView::create_velocity_automation_child ( Evoral::Parameter const &  ,
bool  show 
)
private

◆ custom_device_mode_changed()

void MidiTimeAxisView::custom_device_mode_changed ( const std::string &  mode)
private

◆ ensure_step_editor()

void MidiTimeAxisView::ensure_step_editor ( )
private

◆ extend_note_selection()

void MidiTimeAxisView::extend_note_selection ( uint8_t  note)
private

◆ extend_note_selection_region_view()

void MidiTimeAxisView::extend_note_selection_region_view ( RegionView ,
uint8_t  note,
uint16_t  chn_mask 
)
private

◆ first_idle()

void MidiTimeAxisView::first_idle ( )
virtual

called at load time when first GUI idle occurs. put expensive data loading/redisplay code in here.

Reimplemented from TimeAxisView.

◆ get_per_region_note_selection()

void MidiTimeAxisView::get_per_region_note_selection ( std::list< std::pair< PBD::ID, std::set< std::shared_ptr< Evoral::Note< Temporal::Beats > > > > > &  )

◆ get_per_region_note_selection_region_view()

void MidiTimeAxisView::get_per_region_note_selection_region_view ( RegionView ,
std::list< std::pair< PBD::ID, std::set< std::shared_ptr< Evoral::Note< Temporal::Beats > > > > > &   
)
private

◆ get_preferred_midi_channel()

uint8_t MidiTimeAxisView::get_preferred_midi_channel ( ) const

◆ get_regions_with_selected_data()

void MidiTimeAxisView::get_regions_with_selected_data ( RegionSelection )

◆ maybe_trigger_model_change()

void MidiTimeAxisView::maybe_trigger_model_change ( )
private

◆ midi_view()

MidiStreamView* MidiTimeAxisView::midi_view ( )

◆ model_changed()

void MidiTimeAxisView::model_changed ( const std::string &  model)
private

◆ mouse_mode_changed()

void MidiTimeAxisView::mouse_mode_changed ( )
private

◆ note_mode()

ARDOUR::NoteMode MidiTimeAxisView::note_mode ( ) const
inline

Definition at line 99 of file midi_time_axis.h.

◆ note_range_changed()

void MidiTimeAxisView::note_range_changed ( )
private

◆ parameter_changed()

void MidiTimeAxisView::parameter_changed ( std::string const &  )
private

◆ paste()

bool MidiTimeAxisView::paste ( Temporal::timepos_t const &  pos,
const Selection selection,
PasteContext ctx 
)
virtual

Paste a selection.

Parameters
posPosition to paste to (session samples).
selectionSelection to paste.
ctxPaste context.

Reimplemented from TimeAxisView.

◆ processors_changed()

void MidiTimeAxisView::processors_changed ( ARDOUR::RouteProcessorChange  )
protectedvirtual

Reimplemented from RouteTimeAxisView.

◆ route_active_changed()

void MidiTimeAxisView::route_active_changed ( )
privatevirtual

Reimplemented from RouteUI.

◆ set_channel_mode()

void MidiTimeAxisView::set_channel_mode ( ARDOUR::ChannelMode  ,
uint16_t   
)
private

◆ set_color_mode()

void MidiTimeAxisView::set_color_mode ( ARDOUR::ColorMode  ,
bool  force = false,
bool  redisplay = true,
bool  apply_to_selection = false 
)
private

◆ set_height()

void MidiTimeAxisView::set_height ( uint32_t  ,
TrackHeightMode  m = OnlySelf,
bool  from_idle = false 
)
virtual

Reimplemented from TimeAxisView.

◆ set_layer_display()

void MidiTimeAxisView::set_layer_display ( LayerDisplay  d)
virtual

Reimplemented from RouteTimeAxisView.

◆ set_note_highlight()

void MidiTimeAxisView::set_note_highlight ( uint8_t  note)

◆ set_note_mode()

void MidiTimeAxisView::set_note_mode ( ARDOUR::NoteMode  mode,
bool  apply_to_selection = false 
)
private

◆ set_note_selection()

void MidiTimeAxisView::set_note_selection ( uint8_t  note)
private

◆ set_note_selection_region_view()

void MidiTimeAxisView::set_note_selection_region_view ( RegionView rv,
uint8_t  note,
uint16_t  chn_mask 
)
private

◆ set_route()

void MidiTimeAxisView::set_route ( std::shared_ptr< ARDOUR::Route )
virtual

Reimplemented from RouteUI.

◆ set_visibility_note_range()

void MidiTimeAxisView::set_visibility_note_range ( MidiStreamView::VisibleNoteRange  range,
bool  apply_to_selection = false 
)

◆ setup_midnam_patches()

void MidiTimeAxisView::setup_midnam_patches ( )
private

◆ show_all_automation()

void MidiTimeAxisView::show_all_automation ( bool  apply_to_selection = false)
virtual

Reimplemented from StripableTimeAxisView.

◆ show_existing_automation()

void MidiTimeAxisView::show_existing_automation ( bool  apply_to_selection = false)
virtual

Reimplemented from StripableTimeAxisView.

◆ start_step_editing()

void MidiTimeAxisView::start_step_editing ( )
protectedvirtual

Reimplemented from RouteUI.

◆ step_editor()

StepEditor* MidiTimeAxisView::step_editor ( )
inline

Definition at line 104 of file midi_time_axis.h.

◆ stop_step_editing()

void MidiTimeAxisView::stop_step_editing ( )
protectedvirtual

Reimplemented from RouteUI.

◆ toggle_channel_selector()

void MidiTimeAxisView::toggle_channel_selector ( )
privatevirtual

Reimplemented from RouteTimeAxisView.

◆ toggle_note_selection()

void MidiTimeAxisView::toggle_note_selection ( uint8_t  note)
private

◆ toggle_note_selection_region_view()

void MidiTimeAxisView::toggle_note_selection_region_view ( RegionView ,
uint8_t  note,
uint16_t  chn_mask 
)
private

◆ toggle_restore_pgm_on_load()

void MidiTimeAxisView::toggle_restore_pgm_on_load ( )
private

◆ update_control_names()

void MidiTimeAxisView::update_control_names ( )
private

◆ update_midi_controls_visibility()

void MidiTimeAxisView::update_midi_controls_visibility ( uint32_t  )
private

◆ update_patch_selector()

void MidiTimeAxisView::update_patch_selector ( )
private

◆ update_scroomer_visbility()

void MidiTimeAxisView::update_scroomer_visbility ( uint32_t  ,
LayerDisplay   
)
private

◆ use_midnam_info()

void MidiTimeAxisView::use_midnam_info ( )

Member Data Documentation

◆ _asked_all_automation

bool MidiTimeAxisView::_asked_all_automation
private

Definition at line 152 of file midi_time_axis.h.

◆ _channel_color_mode_item

Gtk::RadioMenuItem* MidiTimeAxisView::_channel_color_mode_item
private

Definition at line 161 of file midi_time_axis.h.

◆ _channel_command_menu_map

ParameterMenuMap MidiTimeAxisView::_channel_command_menu_map
private

parameter -> menu item map for the channel command items

Definition at line 199 of file midi_time_axis.h.

◆ _channel_selector

MidiChannelSelectorWindow* MidiTimeAxisView::_channel_selector
private

Definition at line 164 of file midi_time_axis.h.

◆ _color_mode

ARDOUR::ColorMode MidiTimeAxisView::_color_mode
private

Definition at line 159 of file midi_time_axis.h.

◆ _controller_menu_map

ParameterMenuMap MidiTimeAxisView::_controller_menu_map
private

parameter -> menu item map for the controller menu

Definition at line 201 of file midi_time_axis.h.

◆ _effective_mode

std::string MidiTimeAxisView::_effective_mode
private

Definition at line 154 of file midi_time_axis.h.

◆ _effective_model

std::string MidiTimeAxisView::_effective_model
private

Definition at line 153 of file midi_time_axis.h.

◆ _ignore_signals

bool MidiTimeAxisView::_ignore_signals
private

Definition at line 151 of file midi_time_axis.h.

◆ _meter_color_mode_item

Gtk::RadioMenuItem* MidiTimeAxisView::_meter_color_mode_item
private

Definition at line 160 of file midi_time_axis.h.

◆ _midi_controls_box

Gtk::VBox MidiTimeAxisView::_midi_controls_box
private

Definition at line 163 of file midi_time_axis.h.

◆ _midi_patch_settings_changed

sigc::signal<void, std::string, std::string> MidiTimeAxisView::_midi_patch_settings_changed
private

Definition at line 125 of file midi_time_axis.h.

◆ _midnam_channel_selector

ArdourWidgets::ArdourDropdown MidiTimeAxisView::_midnam_channel_selector
private

Definition at line 167 of file midi_time_axis.h.

◆ _midnam_custom_device_mode_selector

ArdourWidgets::ArdourDropdown MidiTimeAxisView::_midnam_custom_device_mode_selector
private

Definition at line 166 of file midi_time_axis.h.

◆ _midnam_model_selector

ArdourWidgets::ArdourDropdown MidiTimeAxisView::_midnam_model_selector
private

Definition at line 165 of file midi_time_axis.h.

◆ _note_mode

ARDOUR::NoteMode MidiTimeAxisView::_note_mode
private

Definition at line 156 of file midi_time_axis.h.

◆ _note_mode_item

Gtk::RadioMenuItem* MidiTimeAxisView::_note_mode_item
private

Definition at line 157 of file midi_time_axis.h.

◆ _note_range_changed_connection

sigc::connection MidiTimeAxisView::_note_range_changed_connection
private

Definition at line 129 of file midi_time_axis.h.

◆ _percussion_mode_item

Gtk::RadioMenuItem* MidiTimeAxisView::_percussion_mode_item
private

Definition at line 158 of file midi_time_axis.h.

◆ _piano_roll_header

PianoRollHeader* MidiTimeAxisView::_piano_roll_header
private

Definition at line 155 of file midi_time_axis.h.

◆ _step_edit_item

Gtk::CheckMenuItem* MidiTimeAxisView::_step_edit_item
private

Definition at line 169 of file midi_time_axis.h.

◆ _step_editor

StepEditor* MidiTimeAxisView::_step_editor
private

Definition at line 203 of file midi_time_axis.h.

◆ _track_color_mode_item

Gtk::RadioMenuItem* MidiTimeAxisView::_track_color_mode_item
private

Definition at line 162 of file midi_time_axis.h.

◆ controller_menu

Gtk::Menu* MidiTimeAxisView::controller_menu
private

Definition at line 176 of file midi_time_axis.h.

◆ default_channel_menu

Gtk::Menu* MidiTimeAxisView::default_channel_menu
private

Definition at line 170 of file midi_time_axis.h.

◆ mouse_mode_connection

PBD::ScopedConnection MidiTimeAxisView::mouse_mode_connection
private

Definition at line 211 of file midi_time_axis.h.

◆ velocity_menu_item

Gtk::CheckMenuItem* MidiTimeAxisView::velocity_menu_item
private

Definition at line 206 of file midi_time_axis.h.

◆ velocity_track

std::shared_ptr<AutomationTimeAxisView> MidiTimeAxisView::velocity_track
private

Definition at line 205 of file midi_time_axis.h.


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