当前位置: 首页>>代码示例>>Python>>正文


Python RemoteSLComponent.__init__方法代码示例

本文整理汇总了Python中RemoteSLComponent.RemoteSLComponent.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python RemoteSLComponent.__init__方法的具体用法?Python RemoteSLComponent.__init__怎么用?Python RemoteSLComponent.__init__使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在RemoteSLComponent.RemoteSLComponent的用法示例。


在下文中一共展示了RemoteSLComponent.__init__方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from RemoteSLComponent import RemoteSLComponent [as 别名]
# 或者: from RemoteSLComponent.RemoteSLComponent import __init__ [as 别名]
 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()
开发者ID:AleDel,项目名称:AbletonLive9_RemoteScripts,代码行数:9,代码来源:DisplayController.py

示例2: __init__

# 需要导入模块: from RemoteSLComponent import RemoteSLComponent [as 别名]
# 或者: from RemoteSLComponent.RemoteSLComponent import __init__ [as 别名]
 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()
开发者ID:Etnorazz,项目名称:LeapConductor,代码行数:10,代码来源:DisplayController.py

示例3: __init__

# 需要导入模块: from RemoteSLComponent import RemoteSLComponent [as 别名]
# 或者: from RemoteSLComponent.RemoteSLComponent import __init__ [as 别名]
 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()
开发者ID:Etnorazz,项目名称:LeapConductor,代码行数:13,代码来源:EffectController.py

示例4: __init__

# 需要导入模块: from RemoteSLComponent import RemoteSLComponent [as 别名]
# 或者: from RemoteSLComponent.RemoteSLComponent import __init__ [as 别名]
 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()
开发者ID:Etnorazz,项目名称:LeapConductor,代码行数:15,代码来源:MixerController.py


注:本文中的RemoteSLComponent.RemoteSLComponent.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。