Skip to content

Launchpad_Pro.DrumGroupComponent

Module constants

  • BASE_DRUM_RACK_NOTE = 36
  • DEFAULT_POSITION = 9

Classes

class ResettableSlideComponent(SlideComponent)

Bases: SlideComponent

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

reset(self)

class ResettingScrollComponent(ScrollComponent)

Bases: ScrollComponent

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

_on_scroll_pressed(self, button, scroll_step, scroll_task)

_on_scroll_released(self, scroll_task)

_should_reset(self)

_update_scroll_buttons(self)

class DrumGroupComponent(ResettableSlideComponent, Slideable)

Bases: ResettableSlideComponent, Slideable

Attributes

  • position_count = 32
  • page_length = 4
  • page_offset = 1
  • position

__init__(self, pitch_deleter, translation_channel, set_pad_translations, *a, **k)

contents_range(self, pmin, pmax)

contents(self, index)

_get_position(self)

_set_position(self, index)

width(self)

height(self)

pressed_pads(self)

visible_drum_pads(self)

update(self)

set_drum_matrix(self, matrix)

_on_selected_clip_changed(self)

set_drum_group_device(self, drum_group_device)

_update_drum_pad_listeners(self)

_on_solo_changed(self, pad)

_on_mute_changed(self, pad)

_update_led_feedback(self)

_update_pad_led(self, pad, button, soloed_pads)

_button_coordinates_to_pad_index(self, first_note, coordinates)

drum_matrix(self, pad)

drum_matrix(self, pad)

_on_matrix_released(self, pad)

_on_matrix_pressed(self, pad)

_on_visible_drum_pads_changed(self)

_on_drum_pads_scroll_position_changed(self)

_on_selected_drum_pad_changed(self)

mute_button(self, value, button)

solo_button(self, value, button)

delete_button(self, value, button)

quantize_button(self, value, button)

select_button(self, value, button)

_set_control_pads_from_script(self, takeover_drums)

_update_control_from_script(self)

_update_identifier_translations(self)

_set_non_pad_translated_identifiers(self)

_set_pad_translated_identifiers(self)

_can_set_pad_translations(self)

_create_and_set_pad_translations(self)

select_drum_pad(self, drum_pad)

quantize_pitch(self, note)

delete_pitch(self, drum_pad)