コード例 #1
0
ファイル: ClyphX.py プロジェクト: anton-martynov/clyphx_mods
 def __init__(self, c_instance):
     ControlSurface.__init__(self, c_instance)
     self.set_suppress_rebuild_requests(True)
     self._folder_location = '/ClyphX/'
     self._macrobat = Macrobat(self)
     self._extra_prefs = ExtraPrefs(self)
     self._track_actions = ClyphXTrackActions(self)
     self._snap_actions = ClyphXSnapActions(self)
     self._global_actions = ClyphXGlobalActions(self)
     self._device_actions = ClyphXDeviceActions(self)
     self._clip_actions = ClyphXClipActions(self)
     self._control_surface_actions = ClyphXControlSurfaceActions(self)
     self._control_component = ClyphXControlComponent(self)
     ClyphXCueComponent(self)
     self._startup_actions_complete = False
     self._user_variables = {}
     self._play_seq_clips = {}
     self._loop_seq_clips = {}
     self._current_tracks = []
     live = Live.Application.get_application()
     self._can_have_nested_devices = False
     if live.get_major_version() == 8 and live.get_minor_version(
     ) >= 2 and live.get_bugfix_version() >= 2:
         self._can_have_nested_devices = True
     self.setup_tracks()
     self.log_message(
         'nativeKONTROL LOG ------- nativeKONTROL ClyphX v2.0.3 for Live 8 ------- Live Version: '
         + str(live.get_major_version()) + '.' +
         str(live.get_minor_version()) + '.' +
         str(live.get_bugfix_version()) + ' ------- END LOG')
     self.show_message('nativeKONTROL ClyphX v2.0.3 for Live 8')
     self.set_suppress_rebuild_requests(False)
コード例 #2
0
    def __init__(self, c_instance):
        ControlSurface.__init__(self, c_instance)
	self._user_settings_logged = False
	self._is_debugging = False 
	self._push_emulation = False
	self._push_apc_combiner = None
	self._process_xclips_if_track_muted = True
	with self.component_guard():
	    self._macrobat = Macrobat(self)
	    self._extra_prefs = ExtraPrefs(self)
	    self._cs_linker = CSLinker()
	    self._track_actions = ClyphXTrackActions(self)
	    self._snap_actions = ClyphXSnapActions(self)
	    self._global_actions = ClyphXGlobalActions(self)
	    self._device_actions = ClyphXDeviceActions(self)
	    self._dr_actions = ClyphXDRActions9(self)
	    self._clip_actions = ClyphXClipActions(self)
	    self._control_surface_actions = ClyphXControlSurfaceActions9(self) # specialized version for L9
	    self._user_actions = ClyphXUserActions(self)
	    self._control_component = ClyphXControlComponent(self)
	    ClyphXM4LBrowserInterface(self)
	    ClyphXCueComponent(self)
	    self._startup_actions_complete = False
	    self._user_variables = {}
	    self._play_seq_clips = {}
	    self._loop_seq_clips = {}
	    self._current_tracks = []
	    live = Live.Application.get_application()
	    self._can_have_nested_devices = True
	    self.setup_tracks()
        self.log_message('nativeKONTROL LOG ------- ' + SCRIPT_NAME + ' ------- Live Version: ' + str(live.get_major_version()) + '.' + str(live.get_minor_version()) + '.' + str(live.get_bugfix_version()) + ' ------- END LOG')
        self.show_message(SCRIPT_NAME)
コード例 #3
0
ファイル: ClyphX8.py プロジェクト: blythemusic/ClyphX
 def __init__(self, c_instance):
     ControlSurface.__init__(self, c_instance)
     self._user_settings_logged = False
     self.set_suppress_rebuild_requests(True)
     self._is_debugging = False
     self._process_xclips_if_track_muted = True
     self._macrobat = Macrobat(self)
     self._extra_prefs = ExtraPrefs(self)
     self._track_actions = ClyphXTrackActions(self)
     self._snap_actions = ClyphXSnapActions(self)
     self._global_actions = ClyphXGlobalActions(self)
     self._device_actions = ClyphXDeviceActions(self)
     self._clip_actions = ClyphXClipActions(self)
     self._control_surface_actions = ClyphXControlSurfaceActions(self)
     self._user_actions = ClyphXUserActions(self)
     self._control_component = ClyphXControlComponent(self)
     ClyphXCueComponent(self)
     self._startup_actions_complete = False
     self._user_variables = {}
     self._play_seq_clips = {}
     self._loop_seq_clips = {}
     self._current_tracks = []
     live = Live.Application.get_application()
     self._can_have_nested_devices = False
     if live.get_major_version() == 9 or (
             live.get_major_version() == 8 and
         (live.get_minor_version() > 2 or
          (live.get_minor_version() == 2
           and live.get_bugfix_version() >= 2))):
         self._can_have_nested_devices = True
     self.setup_tracks()
     self.log_message('nativeKONTROL LOG ------- ' + SCRIPT_NAME +
                      ' ------- Live Version: ' +
                      str(live.get_major_version()) + '.' +
                      str(live.get_minor_version()) + '.' +
                      str(live.get_bugfix_version()) + ' ------- END LOG')
     self.show_message(SCRIPT_NAME)
     self.set_suppress_rebuild_requests(False)