Skip to content

Push2.simpler

Module constants

  • RESET_SLICING_NOTIFICATION = 'Slicing has been reset'
  • MAX_NUMBER_SLICES = 64

Classes

class EnvelopeType(int)

Bases: int

class SimplerDeviceDecorator(SimplerDeviceDecoratorBase, Messenger)

Bases: SimplerDeviceDecoratorBase, Messenger

Attributes

  • waveform_real_time_channel_id = ''
  • playhead_real_time_channel_id = ''
  • _SimplerDeviceDecorator__on_parameters_changed
  • _SimplerDeviceDecorator__on_start_marker_changed
  • _SimplerDeviceDecorator__on_end_marker_changed
  • _SimplerDeviceDecorator__on_signature_numerator_changed
  • _SimplerDeviceDecorator__on_can_warp_as_changed
  • _SimplerDeviceDecorator__on_can_warp_half_changed
  • _SimplerDeviceDecorator__on_can_warp_double_changed
  • _SimplerDeviceDecorator__on_selected_slice_changed
  • _SimplerDeviceDecorator__on_envelope_type_changed

__init__(self, song, *a, **k)

setup_parameters(self)

setup_options(self)

get_parameter_by_name(self, name)

options(self)

waveform_navigation(self)

available_resolutions(self)

available_slicing_beat_divisions(self)

__on_parameters_changed(self)

_reconnect_sample_listeners(self)

_reconnect_to_markers(self)

_update_warp_as_label(self)

__on_start_marker_changed(self)

__on_end_marker_changed(self)

__on_signature_numerator_changed(self)

__on_can_warp_as_changed(self)

__on_can_warp_half_changed(self)

__on_can_warp_double_changed(self)

__on_selected_slice_changed(self)

_on_sample_changed(self)

_on_slices_changed(self)

get_warp_as_option_label(self)

envelope_type_index(self)

__on_envelope_type_changed(self)

class SimplerDeviceComponent(DeviceComponentWithTrackColorViewData)

Bases: DeviceComponentWithTrackColorViewData

Attributes

  • ZOOM_SENSITIVE_PARAMETERS = ('S Start', 'S Length', 'Start', 'End', 'Nudge')
  • PARAMETERS_RELATIVE_TO_ACTIVE_AREA = ('S Start', 'S Length')
  • ENVELOPE_PREFIXES
  • _SimplerDeviceComponent__on_playhead_channel_changed
  • _SimplerDeviceComponent__on_waveform_channel_changed
  • _SimplerDeviceComponent__on_sample_or_file_path_changed
  • _SimplerDeviceComponent__on_waveform_visible_region_changed
  • _SimplerDeviceComponent__on_selected_envelope_type_changed

__init__(self, *a, **k)

_set_device_for_subcomponents(self, device)

_set_decorated_device_for_subcomponents(self, decorated_device)

_parameter_touched(self, parameter)

_parameter_released(self, parameter)

parameters_changed(self)

_is_parameter_available(self, parameter)

_adjust_parameter_sensitivity(self, parameter, sensitivity)

__on_playhead_channel_changed(self)

__on_waveform_channel_changed(self)

__on_sample_or_file_path_changed(self)

__on_waveform_visible_region_changed(self, *a)

_update_parameter_sensitivities(self)

_in_multisample_mode(self)

_update_real_time_channel(self, channel_name)

wants_waveform_shown(self)

disconnect(self)

_set_bank_index(self, bank)

_set_decorated_device(self, decorated_device)

selected_envelope_type(self)

__on_selected_envelope_type_changed(self)

_envelope_visible(self)

_filter_visible(self)

_visualisation_visible(self)

_shrink_parameters(self)

_initial_visualisation_view_data(self)

envelope_left_button(self)

_visualisation_data(self)

_envelope_visualisation_data(self)

_filter_visualisation_data(self)

Functions

center_point(start, end)

insert_new_slice(simpler)