Skip to content

pushbase.push_base

Module constants

  • NUM_TRACKS = 8
  • NUM_SCENES = 8
  • TEMPO_SWING_TOUCH_DELAY = 0.4

Classes

class PushBase(ControlSurface)

Bases: ControlSurface

Attributes

  • preferences_key = 'Push'
  • drum_group_note_editor_skin = 'NoteEditor'
  • slicing_note_editor_skin = 'NoteEditor'
  • drum_group_velocity_levels_skin = 'VelocityLevels'
  • slicing_velocity_levels_skin = 'VelocityLevels'
  • note_layout_button = 'note_mode_button'
  • note_editor_velocity_range_thresholds
  • device_component_class = None
  • selected_track_parameter_provider_class = None
  • bank_definitions = None
  • note_editor_class = None
  • sliced_simpler_class = None
  • _PushBase__on_session_visible_changed
  • _PushBase__on_main_modes_changed
  • _PushBase__on_note_editor_layout_changed
  • _PushBase__on_drums_note_layout_changed
  • _PushBase__on_slicing_note_layout_changed
  • _PushBase__on_selected_track_is_frozen_changed
  • _PushBase__on_session_record_changed
  • _PushBase__on_fixed_length_enabled_changed
  • _PushBase__on_fixed_length_selected_index_changed
  • _PushBase__on_fixed_length_legato_launch_changed
  • _PushBase__on_before_hardware_mode_sent
  • _PushBase__on_after_hardware_mode_sent
  • _PushBase__on_hardware_mode_changed
  • _PushBase__on_matrix_mode_changed
  • _PushBase__on_percussion_instrument_changed
  • _PushBase__on_param_encoder_touched

__init__(self, *a, **k)

initialize(self)

disconnect(self)

_component_guard(self)

_create_device_decorator_factory(self)

_create_components(self)

_create_injector(self)

_create_skin(self)

_needs_to_deactivate_session_recording(self)

_track_selection_changed_by_action(self)

port_settings_changed(self)

_switch_to_live_mode(self)

_init_settings(self)

_create_settings(self)

update(self)

_create_controls(self)

_with_shift(self, button)

_with_firmware_version(self, major_version, minor_version, control_element)

_init_background(self)

_create_background_layer(self)

_init_track_list(self)

_can_auto_arm_track(self, track)

_init_touch_strip_controller(self)

_create_session_mode(self)

_create_alternating_layout_modes_for_levels_and_loop(self, mode, add_touch_strip, default_mode, alternative_mode)

_create_alternating_layout_modes_for_64pads(self, mode, add_touch_strip, default_mode, alternative_mode)

_create_slicing_modes(self)

_create_drum_modes(self)

_init_matrix_modes(self)

_register_matrix_mode(self, name, modes_component, parent_path)

_switch_note_mode_layout(self)

_get_current_alternative_layout_mode(self)

_create_note_mode(self)

_create_user_component(self)

_init_user(self)

_create_session_layer(self)

_set_session_skin(self, session)

_create_fixed_length_recording(self)

_instantiate_session(self)

_create_session(self)

on_select_clip_slot(self, clip_slot)

on_select_scene(self, scene)

on_select_track(self, track)

_create_session_overview(self)

_create_session_overview_layer(self)

_init_session_ring(self)

_init_session(self)

_create_session_navigation_layer(self)

_create_track_modes_layer(self)

_when_track_is_not_frozen(self, *modes)

_create_device_mode(self)

_create_main_mixer_modes(self)

_create_clip_mode(self)

_init_main_modes(self)

_init_browse_mode(self)

_create_main_modes_layer(self)

_init_track_frozen(self)

_create_track_frozen_layer(self)

_init_mixer(self)

_init_track_mixer(self)

_create_track_mixer_layer(self)

_create_device_component(self)

_create_device_parameter_component(self)

_create_device_parameter_layer(self)

_create_device_navigation(self)

_init_device(self)

_create_view_control_component(self)

_init_fixed_length(self)

_create_session_recording(self)

__on_session_visible_changed(self)

_init_transport_and_recording(self)

_create_clip_control(self)

_create_clip_loop_layer(self)

_create_clip_audio_layer(self)

_create_clip_name_layer(self)

_init_grid_resolution(self)

_init_note_editor_settings_component(self)

_automateable_main_modes(self)

__on_main_modes_changed(self, mode)

_create_note_editor_mode_selector_layer(self)

_create_note_settings_component_layer(self)

_create_note_editor_track_automation_layer(self)

_create_note_editor_device_automation_layer(self)

_create_sequence_instrument_layer(self)

_create_sequence_instrument_layer_with_loop(self)

_create_play_instrument_with_loop_layer(self)

_init_instrument(self)

_create_scales_enabler(self)

_init_scales(self)

_create_drum_step_sequencer_layer(self)

_create_split_seq_layer(self)

_init_split_melodic_sequencer(self)

_init_drum_step_sequencer(self)

_create_slicing_step_sequencer_layer(self)

_init_slicing_step_sequencer(self)

_create_drum_component(self)

_init_drum_component(self)

_init_slicing_component(self)

_init_note_repeat(self)

_create_note_repeat_layer(self)

_init_notification(self)

_create_notification_component(self)

_create_message_box_background_layer(self)

_create_message_box_layer(self)

_init_message_box(self)

_for_non_frozen_tracks(self, component, **k)

_init_undo_redo_actions(self)

_init_stop_clips_action(self)

_create_capture_and_insert_scene_component(self)

_init_duplicate_actions(self)

_init_delete_actions(self)

_init_quantize_actions(self)

_init_value_components(self)

mxd_grab_control_priority(self)

__on_note_editor_layout_changed(self, mode)

__on_drums_note_layout_changed(self, mode)

__on_slicing_note_layout_changed(self, mode)

_save_default_note_layout(self, track)

_load_alternative_note_layout(self)

_load_saved_note_layout(self, track, saved_mode)

recall_or_save_note_layout(self, mode)

reset_controlled_track(self, mode)

__on_selected_track_is_frozen_changed(self)

_on_selected_track_changed(self)

_send_midi(self, midi_event_bytes, optimized)

_update_playhead_color(self, color)

__on_session_record_changed(self)

__on_fixed_length_enabled_changed(self, enabled)

__on_fixed_length_selected_index_changed(self, index)

__on_fixed_length_legato_launch_changed(self, value)

__on_before_hardware_mode_sent(self, mode)

__on_after_hardware_mode_sent(self, mode)

__on_hardware_mode_changed(self, mode)

__on_matrix_mode_changed(self, mode)

_update_auto_arm(self, selected_mode)

__on_percussion_instrument_changed(self)

_select_note_mode(self)

_percussion_instruments_for_track(self, track)

_setup_accidental_touch_prevention(self)

__on_param_encoder_touched(self, value, encoder)

get_matrix_button(self, column, row)

expect_dialog(self, message)

process_midi_bytes(self, midi_bytes, midi_processor)

Functions

tracks_to_use_from_song(song)