def _setup_mixer(self): self._mixer = MonoMixerComponent( name='Mixer', tracks_provider=self._session_ring, track_assigner=SimpleTrackAssigner(), invert_mute_feedback=True, auto_name=True, enable_skinning=True, channel_strip_component_type=MonoChannelStripComponent) self._mixer._selected_strip.layer = Layer(priority=4, volume_control=self._fader) self._mixer.solo_mute_record_stop_layer = AddLayerMode( self._mixer, Layer( priority=4, mute_buttons=self._matrix.submatrix[:, 0], solo_buttons=self._matrix.submatrix[:, 1], arm_buttons=self._matrix.submatrix[:, 2], )) self._mixer.select_layer = AddLayerMode( self._mixer, Layer(priority=4, arming_track_select_buttons=self._matrix.submatrix[:, 3])) self._mixer.mute_layer = AddLayerMode( self._mixer, Layer(priority=4, mute_buttons=self._matrix.submatrix[:, 3]))
def __init__(self, track_assigner=SimpleTrackAssigner(), layout_setup=None, *a, **k): self._layout_setup = layout_setup super(SpecialMixerComponent, self).__init__(*a, **k) self.on_num_sends_changed()
def _setup_mixer(self): self._mixer = MorphMixerComponent(tracks_provider=self._session_ring, track_assigner=SimpleTrackAssigner(), auto_name=True, invert_mute_feedback=False) self._mixer._selected_strip.main_layer = AddLayerMode( self._mixer._selected_strip, Layer(priority=2, send_controls=self._send_pressure_matrix)) self._mixer._selected_strip.shift_layer = AddLayerMode( self._mixer._selected_strip, Layer(priority=2, stop_button=self._button[5]))
def _setup_mixer_control(self): self._mixer = MonoMixerComponent(name='Mixer', tracks_provider=self._session_ring, track_assigner=SimpleTrackAssigner(), invert_mute_feedback=True, auto_name=True, enable_skinning=True) self._mixer.layer = Layer( volume_controls=self._fader_matrix, send_controls=self._dial_matrix, mute_buttons=self._button_matrix.submatrix[:, 0], arm_buttons=self._button_matrix.submatrix[:, 1]) self._mixer.master_strip().layer = Layer(volume_control=self._fader[8]) self._mixer.set_enabled(True) self.song.view.selected_track = self._mixer.channel_strip(0)._track
def _setup_mixer_control(self): self._mixer = OhmMixerComponent( name='Mixer', tracks_provider=self._session_ring, track_assigner=SimpleTrackAssigner(), invert_mute_feedback=True, auto_name=True, enable_skinning=True, channel_strip_component_type=MonoChannelStripComponent) self._mixer.layer = Layer( priority=5, volume_controls=self._fader_matrix.submatrix[:7, :], crossfader_control=self._crossfader) self._mixer.master_strip().layer = Layer( priority=5, volume_control=self._fader[7]) # select_button = self._button[7])
def _setup_mixer_control(self): self._mixer = MonoMixerComponent( name='Mixer', num_returns=2, tracks_provider=self._session_ring, track_assigner=SimpleTrackAssigner(), invert_mute_feedback=True, auto_name=True, enable_skinning=True, channel_strip_component_type=MonoChannelStripComponent) self._mixer.master_strip().set_volume_control(self._master_fader) self._mixer.set_prehear_volume_control(self._side_dial[3]) self._mixer.layer = Layer(volume_controls=self._fader_matrix, track_select_dial=self._encoder[1]) self._strip = [self._mixer.channel_strip(index) for index in range(8)] if KNOBS_ARE_SENDS: for index in range(8): self._strip[index].layer = Layer( priority=4, send_controls=self._dial_matrix.submatrix[index:index + 1, :4], pan_control=self._dial[4][index]) else: for index in range(8): self._strip[index].layer = Layer( priority=4, parameter_controls=self._dial_matrix.submatrix[ index:index + 1, :]) self._mixer.selected_strip().layer = Layer( priority=4, parameter_controls=self._selected_parameter_controls) self._mixer.master_strip().layer = Layer( priority=4, parameter_controls=self._side_dial_matrix.submatrix[:3, :]) self._mixer.main_layer = AddLayerMode( self._mixer, Layer(priority=4, solo_buttons=self._bottom_buttons, mute_buttons=self._top_buttons)) self._mixer.select_layer = AddLayerMode( self._mixer, Layer(priority=4, arm_buttons=self._bottom_buttons, track_select_buttons=self._top_buttons)) self.song.view.selected_track = self._mixer.channel_strip(0)._track self._mixer.set_enabled(False)
def _setup_mixer_control(self): self._mixer = OhmMixerComponent( name='Mixer', tracks_provider=self._session_ring, track_assigner=SimpleTrackAssigner(), invert_mute_feedback=True, auto_name=True, enable_skinning=True, channel_strip_component_type=MonoChannelStripComponent) self._mixer.layer = Layer( priority=5, volume_controls=self._fader_matrix.submatrix[:7, :], prehear_volume_control=self._dial[15], crossfader_control=self._crossfader) self._mixer.master_strip().layer = Layer(priority=5, volume_control=self._fader[7], select_button=self._button[7]) self._mixer.mix_layer = AddLayerMode( self._mixer, Layer( priority=5, mute_buttons=self._matrix.submatrix[:7, 5], solo_buttons=self._matrix.submatrix[:7, 6], arm_buttons=self._matrix.submatrix[:7, 7], send_controls=self._dial_matrix.submatrix[:, :2], pan_controls=self._dial_matrix.submatrix[:7, 2:], track_select_buttons=self._button_matrix.submatrix[:7, :], )) self._mixer.dj_layer = AddLayerMode( self._mixer, Layer( priority=5, mute_buttons=self._matrix.submatrix[:7, 5], crossfade_toggles=self._matrix.submatrix[:7, 6], end_pan_controls=self._dial_matrix.submatrix[:3, 3], eq_gain_controls=self._dial_matrix.submatrix[:, :3], track_select_buttons=self._button_matrix.submatrix[:7, :], )) self._mixer.instrument_layer = AddLayerMode( self._mixer, Layer(priority=5, instrument_send_controls=self._dial_matrix.submatrix[:, 2:], arming_track_select_buttons=self._button_matrix. submatrix[:7, :]))
def _setup_mixer_control(self): self._mixer_session_ring = SessionRingComponent(num_tracks=7, num_scenes=4) self._mixer = SpecialMonoMixerComponent( name='Mixer', tracks_provider=self._mixer_session_ring, track_assigner=SimpleTrackAssigner(), invert_mute_feedback=True, auto_name=True, enable_skinning=True) self._mixer.layer = Layer( priority=4, solo_buttons=self._key_matrix.submatrix[8:11, 0], stop_clip_buttons=self._key_matrix.submatrix[:3, 0], track_select_buttons=self._select_matrix ) #self._key_matrix.submatrix[4:8, 0],) #for strip in self._mixer._channel_strips: # strip._on_select_button_double_clicked = self._toggle_view self._mixer.set_enabled(True)
def _setup_mixer_control(self): self._mixer = MonoMixerComponent(name = 'Mixer', tracks_provider = self._session_ring, track_assigner = SimpleTrackAssigner(), invert_mute_feedback = True, auto_name = True, enable_skinning = True, channel_strip_component_type = MonoChannelStripComponent) self.song.view.selected_track = self._mixer.channel_strip(0)._track
def _setup_mixer_control(self): self._mixer = OhmMixerComponent(name = 'Mixer', tracks_provider = self._session_ring, track_assigner = SimpleTrackAssigner(), invert_mute_feedback = True, auto_name = True, enable_skinning = True) #self._mixer.layer = Layer(priority = 5, volume_controls = self._fader_matrix.submatrix[:7, :], prehear_volume_control = self._dial[15], crossfader_control = self._crossfader) self._mixer.layer = Layer(priority = 5, solo_buttons = self._button_matrix.submatrix[:7,:]) """self._mixer.master_strip().layer = Layer(priority = 5, volume_control = self._fader[7], select_button = self._button[7])
def _setup_mixer_control(self): self._mixer = MonoMixerComponent(name = 'Mixer', num_returns = 2,tracks_provider = self._session_ring, track_assigner = SimpleTrackAssigner(), invert_mute_feedback = True, auto_name = True, enable_skinning = True) self._mixer.fader_layer = AddLayerMode(self._mixer, Layer(priority = 4, volume_controls = self._fader_matrix.submatrix[:4, :], return_controls = self._fader_matrix.submatrix[4:6, :], prehear_volume_control = self._fader[6], send_controls = self._knob_left_matrix, eq_gain_controls = self._knob_right_matrix)) self._mixer.button_layer = AddLayerMode(self._mixer, Layer(priority = 4, mute_buttons = self._key_matrix.submatrix[:4, 1:], stop_clip_buttons = self._key_matrix.submatrix[8:12, 1:], solo_buttons = self._key_matrix.submatrix[:4, :1], arm_buttons = self._key_matrix.submatrix[4:8, :1], track_select_buttons = self._key_matrix.submatrix[4:8, 1:],)) self._mixer.master_strip().layer = Layer(priority = 4, volume_control = self._fader[7],) self._mixer.set_enabled(False)