Skip to content

Push2.note_settings

Classes

class NoteSetting(NoteSettingBase)

Bases: NoteSettingBase

set_min_max(self, min_max_value)

min(self)

max(self)

encoder_value_to_attribute(self, value)

transform_value(self, value)

_get_min_max_value(self, index)

class NoteNudgeSetting(NoteSetting)

Bases: NoteSetting

Attributes

  • attribute_index = 1

transform_value(self, value)

class NoteLengthCoarseSetting(NoteSetting)

Bases: NoteSetting

Attributes

  • attribute_index = 2

transform_value(self, value)

encoder(self, value, _)

class NoteLengthFineSetting(NoteSetting)

Bases: NoteSetting

Attributes

  • attribute_index = 2

transform_value(self, value)

class NoteVelocitySetting(NoteSetting)

Bases: NoteSetting

Attributes

  • attribute_index = 3

encoder_value_to_attribute(self, value)

transform_value(self, value)

class NoteVelocityDeviationSetting(NoteSetting)

Bases: NoteSetting

Attributes

  • attribute_index = 4

encoder_value_to_attribute(self, value)

transform_value(self, value)

class NoteProbabilitySetting(NoteSetting)

Bases: NoteSetting

Attributes

  • attribute_index = 5

encoder_value_to_attribute(self, value)

transform_value(self, value)

class NoteSettingsComponent(NoteSettingsComponentBase)

Bases: NoteSettingsComponentBase

Attributes

  • _NoteSettingsComponent__on_midi_value_changed

__init__(self, *a, **k)

_create_settings(self, grid_resolution)

set_color_mode(self, color_mode)

get_color_for_mode(self, color_mode)

nudge(self)

coarse(self)

fine(self)

velocity(self)

velocity_deviation(self)

probability(self)

color_index(self)

__on_midi_value_changed(self, *a)