本文整理汇总了Python中_Framework.ChannelTranslationSelector.ChannelTranslationSelector.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python ChannelTranslationSelector.__init__方法的具体用法?Python ChannelTranslationSelector.__init__怎么用?Python ChannelTranslationSelector.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类_Framework.ChannelTranslationSelector.ChannelTranslationSelector
的用法示例。
在下文中一共展示了ChannelTranslationSelector.__init__方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from _Framework.ChannelTranslationSelector import ChannelTranslationSelector [as 别名]
# 或者: from _Framework.ChannelTranslationSelector.ChannelTranslationSelector import __init__ [as 别名]
def __init__(self, mixer, pots):
assert DEFAULT_POT_MODE < 8
ChannelTranslationSelector.__init__(self)
self._master_mode = False
self._mode_names = [' TRACK ',' PAN ',' SEND A ',' SEND B ',' SEND C ',' SEND D ',' SEND E ',' SEND F ',' DEVICE ']
self._mixer = mixer
self._pots = pots
#self._extra_device = None
self.set_mode(DEFAULT_POT_MODE)
示例2: __init__
# 需要导入模块: from _Framework.ChannelTranslationSelector import ChannelTranslationSelector [as 别名]
# 或者: from _Framework.ChannelTranslationSelector.ChannelTranslationSelector import __init__ [as 别名]
def __init__(self, mixer, session, sliders, button_modes, shift_mode, encoder_modes, pot_modes):
assert len(sliders) == 8
ChannelTranslationSelector.__init__(self)
self._master_mode = False
self._master_mode_button = None
self._sliders = sliders
self._mixer = mixer
self._session = session
self._button_modes = button_modes
self._shift_mode = shift_mode
self._encoder_modes = encoder_modes
self._pot_modes = pot_modes
self.update_master_mode_button()
self.set_mode(0)
示例3: __init__
# 需要导入模块: from _Framework.ChannelTranslationSelector import ChannelTranslationSelector [as 别名]
# 或者: from _Framework.ChannelTranslationSelector.ChannelTranslationSelector import __init__ [as 别名]
def __init__(self):
ChannelTranslationSelector.__init__(self)
self._shift_button = None
self._shift_pressed = False