def __init__(self, *a, **k):
     (super(SpecialChanStripComponent, self).__init__)(*a, **k)
     self.empty_color = 'Option.Unused'
     self._invert_mute_feedback = True
     self._duplicate_button = None
     self._selector_button = None
     self._delete_handler = None
     self._track_parameter_name_sources = [DisplayDataSource(' ') for _ in range(14)]
     self._track_parameter_data_sources = [DisplayDataSource(' ') for _ in range(14)]
     self._track_parameter_graphic_sources = [DisplayDataSource(' ') for _ in range(14)]
     self._on_return_tracks_changed.subject = self.song
     self._on_selected_track_changed.subject = self.song.view
     self._fold_task = self._tasks.add(task.sequence(task.wait(TRACK_FOLD_DELAY), task.run(self._do_fold_track))).kill()
     self._cue_volume_slot = self.register_disconnectable(ParameterSlot())
Beispiel #2
0
 def __init__(self, device_parameter=None, *a, **k):
     self._parameter_slot = ParameterSlot(device_parameter)
     super(ParameterValueComponent, self).__init__(*a, **k)
     self.register_disconnectable(self._parameter_slot)