Skip to content

pushbase.sliced_simpler_component

Module constants

  • BASE_SLICING_NOTE = 36
  • MAX_NUMBER_SLICES = 64

Classes

class NullQuantizer(object)

Bases: object

quantize_pitch(self, _pitch, _source)

class SlicedSimplerComponent(PlayableComponent, SlideableTouchStripComponent, SlideComponent, Slideable, Messenger)

Bases: PlayableComponent, SlideableTouchStripComponent, SlideComponent, Slideable, Messenger

Attributes

  • position_count = 16
  • page_length = 4
  • page_offset = 0
  • position
  • _SlicedSimplerComponent__on_track_color_changed
  • _SlicedSimplerComponent__on_slices_changed
  • _SlicedSimplerComponent__on_selected_slice_changed
  • _SlicedSimplerComponent__on_pad_slicing_changed
  • _SlicedSimplerComponent__on_slicing_style_changed
  • _SlicedSimplerComponent__on_file_changed

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

_get_position(self)

_set_position(self, index)

min_pitch(self)

max_pitch(self)

set_simpler(self, simpler)

set_matrix(self, matrix)

update(self)

__on_track_color_changed(self)

__on_slices_changed(self)

__on_selected_slice_changed(self)

__on_pad_slicing_changed(self)

__on_slicing_style_changed(self)

_slices(self)

_get_selected_note(self)

selected_target_note(self)

_selected_slice(self)

__on_file_changed(self)

_coordinate_to_slice_index(self, coordinate)

_update_button_color(self, button)

_note_translation_for_button(self, button)

_next_slice_color(self)

_should_show_next_slice(self, index, length_of_slices)

delete_button(self, value, button)

_try_delete_notes_for_slice(self, index)

_try_delete_slice_at_index(self, index)

set_select_button(self, button)

_try_select_slice_at_index(self, index)

quantize_button(self, value, button)

_try_quantize_notes_for_slice(self, index)

_on_matrix_pressed(self, button)