def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) if self._selector.mode_index == 1: new_channel = self._selector.channel_for_current_mode() for note in DRUM_NOTES: self._translate_message(MIDI_NOTE_TYPE, note, 0, note, new_channel)
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) if self._selector.mode_index == 1: new_channel = self._selector.channel_for_current_mode() # self.log_message(str(new_channel)) for note in DRUM_NOTES: self._translate_message(MIDI_NOTE_TYPE, note, 0, note, new_channel)
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) if self._selector.mode_index == 1: if self._selector._sub_mode_index[self._selector._mode_index] > 0: # disable midi map rebuild for instrument mode to prevent light feedback errors new_channel = self._selector.channel_for_current_mode() # self.log_message(str(new_channel)) for note in DRUM_NOTES: self._translate_message(MIDI_NOTE_TYPE, note, 0, note, new_channel)
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) if self._selector.mode_index == 1: if self._selector._sub_mode_index[self._selector._mode_index] > 0: # disable midi map rebuild for instrument mode to prevent light feedback errors new_channel = self._selector.channel_for_current_mode() # self.log_message(str(new_channel)) for note in self.drum_notes: self._translate_message(MIDI_NOTE_TYPE, note, 0, note, new_channel)
def build_midi_map(self, midi_map_handle): """ Build user-defined list of midi messages for controlling ClyphX track """ ControlSurface.build_midi_map(self, midi_map_handle) if self._user_settings_logged: self._control_component.rebuild_control_map(midi_map_handle) else: self.get_user_settings(midi_map_handle) self._user_settings_logged = True
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) if self._selector!=None: if self._selector._main_mode_index==1: mode = Settings.USER_MODES_1[self._selector._sub_mode_list[self._selector._main_mode_index] ] if mode != "instrument": new_channel = self._selector.channel_for_current_mode() for note in self._drum_notes: self._translate_message(MIDI_NOTE_TYPE, note, 0, note, new_channel) elif self._selector._main_mode_index==2: mode = Settings.USER_MODES_2[self._selector._sub_mode_list[self._selector._main_mode_index] ]
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) if self._selector!=None: if self._selector._main_mode_index==2 or self._selector._main_mode_index==1: mode = Settings.USER_MODES[ (self._selector._main_mode_index-1) * 3 + self._selector._sub_mode_index[self._selector._main_mode_index] ] #self._selector.mode_index == 1: #if self._selector._sub_mode_index[self._selector._mode_index] > 0: # disable midi map rebuild for instrument mode to prevent light feedback errors if mode != "instrument": new_channel = self._selector.channel_for_current_mode() for note in self._drum_notes: self._translate_message(MIDI_NOTE_TYPE, note, 0, note, new_channel)
def build_midi_map(self, midi_map_handle): self._current_midi_map = midi_map_handle ControlSurface.build_midi_map(self, midi_map_handle) # remove clip listeners self.rem_clip_slot_listeners() # add clip listeners self.add_clip_slot_listeners() # update display self.update_display_clips()
def build_midi_map(self, midi_map_handle): self.log_message("Building midi map...") ControlSurface.build_midi_map(self, midi_map_handle)
def build_midi_map(self, midi_map_handle): self._current_midi_map = midi_map_handle ControlSurface.build_midi_map(self, midi_map_handle)
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) self.log_message( "midi"+str(midi_map_handle) )
def build_midi_map(self, midi_map_handle): """ Build user-defined list of midi messages for controlling ClyphX track """ ControlSurface.build_midi_map(self, midi_map_handle) self.get_user_settings(midi_map_handle)
def build_midi_map(self, midi_map_handle): Log.info("Building midi map...") ControlSurface.build_midi_map(self, midi_map_handle)
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle)
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) for i in range(0, 16): Live.MidiMap.forward_midi_note(self.__c_instance.handle(), midi_map_handle, 10, 8 + i)
def build_midi_map(self, midi_map_handle): ControlSurface.build_midi_map(self, midi_map_handle) if self._selector.mode_index == 1: if self._selector._sub_mode_index[self._selector._mode_index] > 0: # disable midi map rebuild for instrument mode to prevent light feedback errors new_channel = self._selector.channel_for_current_mode()