Skip to content

Push2.clip_control

Module constants

  • PARAMETERS_LOOPED = ('Loop position', 'Loop length', 'Start offset')
  • PARAMETERS_NOT_LOOPED = ('Start', 'End')
  • PARAMETERS_AUDIO = ('Warp', 'Transpose', 'Detune', 'Gain')
  • _MATRIX_MODE_PATH_TO_DATA
  • _DEFAULT_VIEW_DATA

Classes

class LoopSetting(WrappingParameter)

Bases: WrappingParameter

Attributes

  • min
  • max
  • _LoopSetting__on_clip_changed
  • _LoopSetting__on_signature_numerator_changed
  • _LoopSetting__on_signature_denominator_changed

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

recording(self)

recording(self, value)

__on_clip_changed(self)

__on_signature_numerator_changed(self)

__on_signature_denominator_changed(self)

display_value(self)

class LoopSettingsControllerComponent(LoopSettingsControllerComponentBase)

Bases: LoopSettingsControllerComponentBase

Attributes

  • ZOOM_DEFAULT_SENSITIVITY
  • ZOOM_FINE_SENSITIVITY
  • zoom_encoder
  • _LoopSettingsControllerComponent__on_is_recording_changed
  • _LoopSettingsControllerComponent__on_is_overdubbing_changed
  • _LoopSettingsControllerComponent__on_looping_changed

__init__(self, *a, **k)

update(self)

loop_button(self, toggled, button)

crop_button(self, button)

looping(self)

loop_parameters(self)

zoom(self)

timeline_navigation(self)

__on_is_recording_changed(self)

__on_is_overdubbing_changed(self)

_update_recording_state(self)

__on_looping_changed(self)

_update_loop_button(self)

_on_clip_changed(self)

_on_clip_start_marker_touched(self)

_on_clip_position_touched(self)

_on_clip_end_touched(self)

_on_clip_start_marker_released(self)

_on_clip_position_released(self)

_on_clip_end_released(self)

zoom_touch_encoder(self, encoder)

zoom_touch_encoder(self, encoder)

_update_and_notify(self)

_connect_encoder(self)

set_zoom_encoder(self, encoder)

class GainSetting(WrappingParameter)

Bases: WrappingParameter

__init__(self, *a, **k)

display_value(self)

class PitchSetting(WrappingParameter)

Bases: WrappingParameter

__init__(self, min_value, max_value, unit, *a, **k)

min(self)

max(self)

display_value(self)

class WarpSetting(WrappingParameter)

Bases: WrappingParameter

__init__(self, *a, **k)

max(self)

is_quantized(self)

value_items(self)

short_value_items(self)

_get_property_value(self)

class AudioClipSettingsControllerComponent(AudioClipSettingsControllerComponentBase)

Bases: AudioClipSettingsControllerComponentBase

Attributes

  • _AudioClipSettingsControllerComponent__on_warping_changed
  • _AudioClipSettingsControllerComponent__on_gain_changed
  • _AudioClipSettingsControllerComponent__on_file_path_changed

__init__(self, *a, **k)

disconnect(self)

audio_parameters(self)

warping(self)

gain(self)

waveform_real_time_channel_id(self)

playhead_real_time_channel_id(self)

_on_clip_changed(self)

_on_transpose_encoder_value(self, value)

_on_detune_encoder_value(self, value)

__on_warping_changed(self)

__on_gain_changed(self)

__on_file_path_changed(self)

class MatrixModeWatcherComponent(Component)

Bases: Component

Attributes

  • _MatrixModeWatcherComponent__on_matrix_mode_changed

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

create_mode_path(initial_mode_map)

matrix_mode_path(self)

matrix_mode_path(self, mode)

__on_matrix_mode_changed(self, mode)

class MidiClipControllerComponent(Component)

Bases: Component

Attributes

  • grid_window_focus = 'grid_window_start'
  • _MidiClipControllerComponent__on_drum_rack_changed
  • _MidiClipControllerComponent__on_note_settings_enabled_changed
  • _MidiClipControllerComponent__on_note_editor_settings_touched_changed
  • _MidiClipControllerComponent__on_selected_notes_changed
  • _MidiClipControllerComponent__on_visualisation_channel_changed
  • _MidiClipControllerComponent__on_visualisation_attached
  • _MidiClipControllerComponent__on_clip_color_changed
  • _MidiClipControllerComponent__on_visible_region_changed
  • _MidiClipControllerComponent__on_focus_marker_changed
  • _MidiClipControllerComponent__on_show_focus_changed
  • _MidiClipControllerComponent__on_matrix_mode_changed
  • _MidiClipControllerComponent__on_instrument_position_changed
  • _MidiClipControllerComponent__on_note_colors_changed
  • _MidiClipControllerComponent__on_editable_pitches_changed
  • _MidiClipControllerComponent__on_row_start_times_changed
  • _MidiClipControllerComponent__on_step_length_changed
  • _MidiClipControllerComponent__on_paginator_page_index_changed
  • _MidiClipControllerComponent__on_paginator_page_length_changed

__init__(self, *a, **k)

clip(self)

clip(self, clip)

visualisation_real_time_channel_id(self)

set_drum_rack_finder(self, finder_component)

set_matrix_mode_watcher(self, watcher)

external_regions_of_interest_creator(self, region_of_interest_creator)

external_focusable_object_descriptions(self)

set_note_settings_component(self, note_settings_component)

set_note_editor_settings_component(self, note_editor_settings_component)

add_instrument_component(self, instrument)

add_mute_during_track_change_component(self, component)

add_paginator(self, paginator)

add_sequencer(self, sequencer)

disconnect(self)

update(self)

_on_clip_changed(self)

_focus_grid_window(self)

_configure_visualisation_delayed(self)

__on_drum_rack_changed(self)

__on_note_settings_enabled_changed(self, _)

__on_note_editor_settings_touched_changed(self)

__on_selected_notes_changed(self, sequencer)

__on_visualisation_channel_changed(self)

__on_visualisation_attached(self)

__on_clip_color_changed(self)

__on_visible_region_changed(self, *a)

__on_focus_marker_changed(self, *a)

__on_show_focus_changed(self, *a)

__on_matrix_mode_changed(self)

__on_instrument_position_changed(self, instrument)

__on_note_colors_changed(self)

__on_editable_pitches_changed(self, sequencer)

__on_row_start_times_changed(self, sequencer)

__on_step_length_changed(self, sequencer)

__on_paginator_page_index_changed(self, paginator)

__on_paginator_page_length_changed(self, paginator)

get_static_view_data(self)

_add_items_to_view_data(self, view_data)

matrix_mode_path(self)

_update_notification_mutes(self)

mute_components_during_track_change(self, muted)

changing_track(self)

_update_minimum_pitch(self)

_update_maximum_sequenceable_pitch(self)

_update_minimum_sequenceable_pitch(self)

_update_note_colors(self)

_configure_visualisation(self)

class ClipControlComponent(Component)

Bases: Component

Attributes

  • _ClipControlComponent__on_selected_scene_changed
  • _ClipControlComponent__on_selected_track_changed
  • _ClipControlComponent__on_selected_clip_changed
  • _ClipControlComponent__on_has_clip_changed

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

__on_selected_scene_changed(self)

__on_selected_track_changed(self)

__on_selected_clip_changed(self)

on_enabled_changed(self)

_decorate_clip(self, clip)

__on_has_clip_changed(self)

_update_controller(self)

_update_selected_mode(self, clip)

clip(self)

Functions

make_color_vector(color_indices)

make_vector(items)

register_matrix_mode(matrix_map, name, modes_component, parent_path)

get_static_view_data(matrix_mode_path)