Exemplo n.º 1
0
    def __init__(self, *a, **k):
        super(APC400000, self).__init__(*a, **k)
        self._double_press_context = DoublePressContext()
        self._default_skin = make_default_skin()
        self._color_skin = merge_skins(self._default_skin, make_biled_skin())
        self._stop_button_skin = merge_skins(self._default_skin, make_stop_button_skin())
        with self.component_guard():
            self._note_editor_settings = []
            self._create_controls()
            self._init_background()
            self._create_undo_redo_actions()
            self._create_session()
            self._create_mixer()
            self._create_transport()
            self._create_device()
            self._create_view_control()
            self._create_quantization_selection()
            self._create_recording()
            self._create_duplicate_loop()
            self._init_auto_arm()
            self._create_sequencer()
            self._create_track_modes()
            self._create_encoder_modes_session()
            self._create_main_modes()
            self._create_m4l_interface()
            self._session.set_mixer(self._mixer)
            #self.set_pad_translations(PAD_TRANSLATIONS)
            #self.set_feedback_channels(FEEDBACK_CHANNELS)

        self.set_highlighting_session_component(self._session)
        self.set_device_component(self._device)
        self._device_selection_follows_track_selection = True
 def __init__(self, *a, **k):
     super(APC40_Mod, self).__init__(*a, **k)
     self._color_skin = merge_skins(make_default_skin(), make_biled_skin())
     self._default_skin = make_default_skin()
     self._stop_button_skin = merge_skins(make_default_skin(), make_stop_button_skin())
     with self.component_guard():
         self._create_controls()
         self._create_session()
         self._create_mixer()
         self._create_transport()
         self._create_device()
         self._create_view_control()
         self._create_quantization_selection()
         self._init_track_modes()
         self._create_m4l_interface()
         self._session.set_mixer(self._mixer)
     self.set_highlighting_session_component(self._session)
     self.set_device_component(self._device)
     self._device_selection_follows_track_selection = True
Exemplo n.º 3
0
    def __init__(self, *a, **k):
        super(APC40, self).__init__(*a, **k)
        self._color_skin = make_biled_skin()
        self._default_skin = make_default_skin()
        self._skin = merge_skins(self._color_skin, self._default_skin)
        with self.component_guard():
            self._create_controls()
            self._create_session()
            self._create_mixer()
            self._create_device()
            self._create_detail_view_control()
            self._create_transport()
            self._create_global_control()
            self._session.set_mixer(self._mixer)
            self.set_highlighting_session_component(self._session)
            self.set_device_component(self._device)
            for component in self.components:
                component.set_enabled(False)

        self._device_selection_follows_track_selection = True
Exemplo n.º 4
0
    def __init__(self, *a, **k):
        super(APC40, self).__init__(*a, **k)
        self._color_skin = make_biled_skin()
        self._default_skin = make_default_skin()
        self._skin = merge_skins(self._color_skin, self._default_skin)
        with self.component_guard():
            self._create_controls()
            self._create_session()
            self._create_mixer()
            self._create_device()
            self._create_detail_view_control()
            self._create_transport()
            self._create_global_control()
            self._session.set_mixer(self._mixer)
            self.set_highlighting_session_component(self._session)
            self.set_device_component(self._device)
            for component in self.components:
                component.set_enabled(False)

        self._device_selection_follows_track_selection = True
 def __init__(self, *a, **k):
     super(APC40_MkII, self).__init__(*a, **k)
     self._color_skin = make_rgb_skin()
     self._default_skin = make_default_skin()
     self._stop_button_skin = make_stop_button_skin()
     self._crossfade_button_skin = make_crossfade_button_skin()
     self._skin = merge_skins(self._color_skin, self._default_skin, self._stop_button_skin, self._crossfade_button_skin)
     with self.component_guard():
         self._create_controls()
         self._create_bank_toggle()
         self._create_session()
         self._create_mixer()
         self._create_transport()
         self._create_device()
         self._create_view_control()
         self._create_quantization_selection()
         self._create_recording()
         self._create_m4l_interface()
         self._session.set_mixer(self._mixer)
     self.set_highlighting_session_component(self._session)
     self.set_device_component(self._device)
     self._device_selection_follows_track_selection = True
 def __init__(self, *a, **k):
     super(APC40_MkII, self).__init__(*a, **k)
     self._color_skin = make_rgb_skin()
     self._default_skin = make_default_skin()
     self._stop_button_skin = make_stop_button_skin()
     self._crossfade_button_skin = make_crossfade_button_skin()
     self._skin = merge_skins(self._color_skin, self._default_skin,
                              self._stop_button_skin,
                              self._crossfade_button_skin)
     with self.component_guard():
         self._create_controls()
         self._create_bank_toggle()
         self._create_session()
         self._create_mixer()
         self._create_transport()
         self._create_device()
         self._create_view_control()
         self._create_quantization_selection()
         self._create_recording()
         self._create_m4l_interface()
         self._session.set_mixer(self._mixer)
     self.set_highlighting_session_component(self._session)
     self.set_device_component(self._device)
     self._device_selection_follows_track_selection = True
Exemplo n.º 7
0
def make_rgb_skin():
    return merge_skins(Skin(RgbColors), Skin(Defaults))
Exemplo n.º 8
0
def make_rgb_skin():
    return merge_skins(Skin(RgbColors), Skin(Defaults))