pushbase.quantization_component¶
Module constants¶
RecordingQuantizationQUANTIZATION_OPTIONSDEFAULT_QUANTIZATION_INDEXQUANTIZATION_NAMES = ('1/4', '1/8', '1/8T', '1/8+T', '1/16', '1/16T', '1/16+T', '1/32')QUANTIZATION_NAMES_UNICODE = ('¼', '⅛', '⅛T', '⅛+T', '\ue001', '\ue001T', '\ue001+T', '\ue002')
Classes¶
class QuantizationSettingsComponent(Component)¶
Bases: Component
Attributes¶
quantize_amountquantize_to_indexrecord_quantization_index_QuantizationSettingsComponent__on_swing_amount_changed_QuantizationSettingsComponent__on_record_quantization_changed
__init__(self, quantization_names, *a, **k)¶
quantize_to(self)¶
swing_amount(self)¶
record_quantization_enabled(self)¶
quantization_option_names(self)¶
selected_quantization_name(self)¶
swing_amount_encoder(self, value, encoder)¶
_clamp_quantization_index(index)¶
quantize_to_encoder(self, value, encoder)¶
quantize_amount_encoder(self, value, encoder)¶
record_quantization_encoder(self, value, encoder)¶
record_quantization_toggle_button(self, value, button)¶
__on_swing_amount_changed(self)¶
__on_record_quantization_changed(self)¶
_update_record_quantization(self)¶
class QuantizationComponent(Component, Messenger)¶
Bases: Component, Messenger