本文整理匯總了Python中RemoteSLComponent.RemoteSLComponent類的典型用法代碼示例。如果您正苦於以下問題:Python RemoteSLComponent類的具體用法?Python RemoteSLComponent怎麽用?Python RemoteSLComponent使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了RemoteSLComponent類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
def __init__(self, remote_sl_parent):
RemoteSLComponent.__init__(self, remote_sl_parent)
self.__left_strip_names = [ str() for x in range(NUM_CONTROLS_PER_ROW) ]
self.__left_strip_parameters = [ None for x in range(NUM_CONTROLS_PER_ROW) ]
self.__right_strip_names = [ str() for x in range(NUM_CONTROLS_PER_ROW) ]
self.__right_strip_parameters = [ None for x in range(NUM_CONTROLS_PER_ROW) ]
self.refresh_state()
示例2: __init__
def __init__(self, remote_sl_parent):
RemoteSLComponent.__init__(self, remote_sl_parent)
self._DisplayController__left_strip_names = [ str() for x in range(NUM_CONTROLS_PER_ROW) ]
self._DisplayController__left_strip_parameters = [ None for x in range(NUM_CONTROLS_PER_ROW) ]
self._DisplayController__right_strip_names = [ str() for x in range(NUM_CONTROLS_PER_ROW) ]
self._DisplayController__right_strip_parameters = [ None for x in range(NUM_CONTROLS_PER_ROW) ]
self._DisplayController__update_display_count = 0
self.refresh_state()
示例3: __init__
def __init__(self, remote_sl_parent, display_controller):
RemoteSLComponent.__init__(self, remote_sl_parent)
self._EffectController__display_controller = display_controller
self._EffectController__parent = remote_sl_parent
self._EffectController__assigned_device = self._EffectController__parent.song().appointed_device
self._EffectController__last_selected_track = None
self._EffectController__assigned_device_is_locked = False
self._EffectController__strips = [ EffectChannelStrip(self) for x in range(NUM_CONTROLS_PER_ROW) ]
self._EffectController__bank = 0
self._EffectController__show_bank = False
self._EffectController__reassign_strips()
示例4: __init__
def __init__(self, remote_sl_parent, display_controller):
RemoteSLComponent.__init__(self, remote_sl_parent)
self._MixerController__display_controller = display_controller
self._MixerController__parent = remote_sl_parent
self._MixerController__forward_button_down = False
self._MixerController__rewind_button_down = False
self._MixerController__strip_offset = 0
self._MixerController__slider_mode = SLIDER_MODE_VOLUME
self._MixerController__strips = [ MixerChannelStrip(self) for i in range(NUM_CONTROLS_PER_ROW) ]
self._MixerController__assigned_tracks = []
self.song().add_tracks_listener(self._MixerController__on_tracks_added_or_deleted)
self.song().add_record_mode_listener(self._MixerController__on_record_mode_changed)
self._MixerController__reassign_strips()