Skip to content

Push2.device_component

Module constants

  • ButtonRange
  • ENVELOPE_FEATURES_FOR_PARAMETER

Classes

class Push2DeviceProvider(DeviceProviderBase)

Bases: DeviceProviderBase

Attributes

  • allow_update_callback

update_device_selection(self)

class GenericDeviceComponent(DeviceComponentBase)

Bases: DeviceComponentBase

Attributes

  • _GenericDeviceComponent__on_options_changed

__init__(self, visualisation_real_time_data, delete_button, *a, **k)

set_device(self, device)

_set_device(self, device)

_on_device_changed(self, device)

parameter_touch_buttons(self, button)

parameter_touch_buttons(self, button)

parameters_changed(self)

_parameter_touched(self, parameter)

_parameter_released(self, parameter)

shift_button(self, button)

shift_button(self, button)

_shift_button_pressed(self, button)

_shift_button_released(self, button)

initialize_visualisation_view_data(self)

_update_visualisation_view_data(self, view_data)

_initial_visualisation_view_data(self)

_is_parameter_available(self, parameter)

_create_parameter_info(self, parameter, name)

_sensitivity(self, sensitivity_key, parameter)

_adjust_parameter_sensitivity(self, parameter, sensitivity)

options(self)

bank_view_description(self)

visualisation_visible(self)

_visualisation_visible(self)

shrink_parameters(self)

_shrink_parameters(self)

__on_options_changed(self)

_setup_bank(self, device)

class DeviceComponentWithTrackColorViewData(GenericDeviceComponent)

Bases: GenericDeviceComponent

Attributes

  • _DeviceComponentWithTrackColorViewData__on_device_active_changed
  • _DeviceComponentWithTrackColorViewData__on_track_mute_changed
  • _DeviceComponentWithTrackColorViewData__on_track_muted_via_solo_changed
  • _DeviceComponentWithTrackColorViewData__on_track_or_chain_color_changed

_set_device(self, device)

_initial_visualisation_view_data(self)

_is_active_for_visualisation(self)

_track_color_for_visualisation(self)

__on_device_active_changed(self)

__on_track_mute_changed(self)

__on_track_muted_via_solo_changed(self)

_update_is_active(self)

__on_track_or_chain_color_changed(self)

Functions

make_vector(items)

parameter_sensitivities(device_class, parameter)

normalize_envelope_parameter_name(parameter_name, envelope_prefixes)

extend_with_envelope_features_for_parameter(features, parameter, envelope_prefixes)