Example #1
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     if self._bank_up_button != None:
         self._bank_up_button.remove_value_listener(self._bank_up_value)
         self._bank_up_button = None
     if self._bank_down_button != None:
         self._bank_down_button.remove_value_listener(self._bank_down_value)
         self._bank_down_button = None
     if self._next_track_button != None:
         self._next_track_button.remove_value_listener(self._next_track_value)
         self._next_track_button = None
     if self._prev_track_button != None:
         self._prev_track_button.remove_value_listener(self._prev_track_value)
         self._prev_track_button = None
     if self._prehear_volume_control != None:
         self._prehear_volume_control.release_parameter()
         self._prehear_volume_control = None
     if self._crossfader_control != None:
         self._crossfader_control.release_parameter()
         self._crossfader_control = None
     self._master_strip = None
     self._selected_strip = None
     self._channel_strips = None
     self._track_eqs = None
     self._track_filters = None
     return None
Example #2
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     if (self._bank_up_button != None):
         self._bank_up_button.unregister_value_notification(
             self._bank_up_value)
         self._bank_up_button = None
     if (self._bank_down_button != None):
         self._bank_down_button.unregister_value_notification(
             self._bank_down_value)
         self._bank_down_button = None
     if (self._next_track_button != None):
         self._next_track_button.unregister_value_notification(
             self._next_track_value)
         self._next_track_button = None
     if (self._prev_track_button != None):
         self._prev_track_button.unregister_value_notification(
             self._prev_track_value)
         self._prev_track_button = None
     if (self._prehear_volume_control != None):
         self._prehear_volume_control.release_parameter()
         self._prehear_volume_control = None
     if (self._crossfader_control != None):
         self._crossfader_control.release_parameter()
         self._crossfader_control = None
     self._master_strip = None
     self._selected_strip = None
     self._channel_strips = None
     self._track_eqs = None
     self._track_filters = None
Example #3
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     if (self._bank_up_button != None):
         self._bank_up_button.unregister_value_notification(self._bank_up_value)
         self._bank_up_button = None
     if (self._bank_down_button != None):
         self._bank_down_button.unregister_value_notification(self._bank_down_value)
         self._bank_down_button = None
     if (self._next_track_button != None):
         self._next_track_button.unregister_value_notification(self._next_track_value)
         self._next_track_button = None
     if (self._prev_track_button != None):
         self._prev_track_button.unregister_value_notification(self._prev_track_value)
         self._prev_track_button = None
     if (self._prehear_volume_control != None):
         self._prehear_volume_control.release_parameter()
         self._prehear_volume_control = None
     if (self._crossfader_control != None):
         self._crossfader_control.release_parameter()
         self._crossfader_control = None
     self._master_strip = None
     self._selected_strip = None
     self._channel_strips = None
     self._track_eqs = None
     self._track_filters = None
Example #4
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     self._scene = None
     self._clip_slots = None
     if (self._launch_button != None):
         self._launch_button.unregister_value_notification(self._launch_value)
         self._launch_button = None
 def disconnect(self):
     CompoundComponent.disconnect(self)
     self._master_strip = None
     self._channel_strips = None
     self._offset_callback = None
     if (self._bank_up_button != None):
         self._bank_up_button.unregister_value_notification(self._bank_up_value)
         self._bank_up_button = None
     if (self._bank_down_button != None):
         self._bank_down_button.unregister_value_notification(self._bank_down_value)
         self._bank_down_button = None
     if (self._bank_right_button != None):
         self._bank_right_button.unregister_value_notification(self._bank_right_value)
         self._bank_right_button = None
     if (self._bank_left_button != None):
         self._bank_left_button.unregister_value_notification(self._bank_left_value)
         self._bank_left_button = None
     if (self._stop_all_button != None):
         self._stop_all_button.unregister_value_notification(self._stop_all_value)
         self._stop_all_button = None
     if (self._next_scene_button != None):
         self._next_scene_button.unregister_value_notification(self._next_scene_value)
         self._next_scene_button = None
     if (self._prev_scene_button != None):
         self._prev_scene_button.unregister_value_notification(self._prev_scene_value)
         self._prev_scene_button = None
     self._stop_track_clip_buttons = None
Example #6
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     self._master_strip = None
     self._channel_strips = None
     self._offset_callback = None
     if (self._bank_up_button != None):
         self._bank_up_button.unregister_value_notification(
             self._bank_up_value)
         self._bank_up_button = None
     if (self._bank_down_button != None):
         self._bank_down_button.unregister_value_notification(
             self._bank_down_value)
         self._bank_down_button = None
     if (self._bank_right_button != None):
         self._bank_right_button.unregister_value_notification(
             self._bank_right_value)
         self._bank_right_button = None
     if (self._bank_left_button != None):
         self._bank_left_button.unregister_value_notification(
             self._bank_left_value)
         self._bank_left_button = None
     if (self._stop_all_button != None):
         self._stop_all_button.unregister_value_notification(
             self._stop_all_value)
         self._stop_all_button = None
     if (self._next_scene_button != None):
         self._next_scene_button.unregister_value_notification(
             self._next_scene_value)
         self._next_scene_button = None
     if (self._prev_scene_button != None):
         self._prev_scene_button.unregister_value_notification(
             self._prev_scene_value)
         self._prev_scene_button = None
     self._stop_track_clip_buttons = None
 def disconnect(self):
     CompoundComponent.disconnect(self)
     if self._is_linked(): #added
         self._unlink() #added
     self._unregister_timer_callback(self._on_timer)
     self._master_strip = None
     self._channel_strips = None
     for index in range(len(self._tracks_and_listeners)):
         track = self._tracks_and_listeners[index][0]
         listener = self._tracks_and_listeners[index][1]
         if ((track != None) and (track in self.song().tracks) and track.fired_slot_index_has_listener(listener)):
             track.remove_fired_slot_index_listener(listener)
     self._tracks_and_listeners = None
     if (self._bank_up_button != None):
         self._bank_up_button.remove_value_listener(self._bank_up_value)
         self._bank_up_button = None
     if (self._bank_down_button != None):
         self._bank_down_button.remove_value_listener(self._bank_down_value)
         self._bank_down_button = None
     if (self._bank_right_button != None):
         self._bank_right_button.remove_value_listener(self._bank_right_value)
         self._bank_right_button = None
     if (self._bank_left_button != None):
         self._bank_left_button.remove_value_listener(self._bank_left_value)
         self._bank_left_button = None
     if (self._stop_all_button != None):
         self._stop_all_button.remove_value_listener(self._stop_all_value)
         self._stop_all_button = None
     if (self._next_scene_button != None):
         self._next_scene_button.remove_value_listener(self._next_scene_value)
         self._next_scene_button = None
     if (self._prev_scene_button != None):
         self._prev_scene_button.remove_value_listener(self._prev_scene_value)
         self._prev_scene_button = None
     self._stop_track_clip_buttons = None
Example #8
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     self._scene = None
     self._clip_slots = None
     if (self._launch_button != None):
         self._launch_button.unregister_value_notification(
             self._launch_value)
         self._launch_button = None
Example #9
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     self._session = None
     self._buttons = None
     self._zoom_button = None
     self._scene_bank_buttons = None
     self._nav_up_button = None
     self._nav_down_button = None
     self._nav_left_button = None
     self._nav_right_button = None
 def disconnect(self):
     CompoundComponent.disconnect(self)
     self._session = None
     self._buttons = None
     self._zoom_button = None
     self._scene_bank_buttons = None
     self._nav_up_button = None
     self._nav_down_button = None
     self._nav_left_button = None
     self._nav_right_button = None
Example #11
0
 def disconnect(self):
     CompoundComponent.disconnect(self)
     if self._scene != None:
         self._scene.remove_is_triggered_listener(self._on_is_triggered_changed)
     if self._launch_button != None:
         self._launch_button.remove_value_listener(self._launch_value)
         self._launch_button = None
     self._scene = None
     self._clip_slots = None
     self._tracks_to_use_callback = None
     return None
 def disconnect(self):
     self._session.remove_offset_listener(self._on_session_offset_changes)
     CompoundComponent.disconnect(self)
     self._session = None
     self._buttons = None
     self._zoom_button = None
     self._scene_bank_buttons = None
     self._nav_up_button = None
     self._nav_down_button = None
     self._nav_left_button = None
     self._nav_right_button = None
     return None
 def disconnect(self):
     CompoundComponent.disconnect(self)
     if self._bank_up_button != None:
         self._bank_up_button.remove_value_listener(self._bank_up_value)
         self._bank_up_button = None
     if self._bank_down_button != None:
         self._bank_down_button.remove_value_listener(self._bank_down_value)
         self._bank_down_button = None
     if self._next_track_button != None:
         self._next_track_button.remove_value_listener(self._next_track_value)
         self._next_track_button = None
     if self._prev_track_button != None:
         self._prev_track_button.remove_value_listener(self._prev_track_value)
         self._prev_track_button = None
     if self._prehear_volume_control != None:
         self._prehear_volume_control.release_parameter()
         self._prehear_volume_control = None
     if self._crossfader_control != None:
         self._crossfader_control.release_parameter()
         self._crossfader_control = None
 def disconnect(self):
     CompoundComponent.disconnect(self)
     if self._bank_up_button != None:
         self._bank_up_button.remove_value_listener(self._bank_up_value)
         self._bank_up_button = None
     if self._bank_down_button != None:
         self._bank_down_button.remove_value_listener(self._bank_down_value)
         self._bank_down_button = None
     if self._next_track_button != None:
         self._next_track_button.remove_value_listener(
             self._next_track_value)
         self._next_track_button = None
     if self._prev_track_button != None:
         self._prev_track_button.remove_value_listener(
             self._prev_track_value)
         self._prev_track_button = None
     if self._prehear_volume_control != None:
         self._prehear_volume_control.release_parameter()
         self._prehear_volume_control = None
     if self._crossfader_control != None:
         self._crossfader_control.release_parameter()
         self._crossfader_control = None