Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/a/b/AbletonLive9_RemoteScripts-HEAD/Nocturn2/MixerController.py   AbletonLive9_RemoteScripts(Download)
                feedback_rule.channel = VOL_CH
                feedback_rule.cc_no = VOL_BASE_CC+index
                self.map_parameter(midi_map_handle, t.mixer_device.volume, feedback_rule)
                feedback_rule.channel = PAN_CH
                feedback_rule.cc_no = PAN_BASE_CC+index;
                self.map_parameter(midi_map_handle, t.mixer_device.panning, feedback_rule)
                    if (send_index < len(t.mixer_device.sends)):
                        feedback_rule.cc_no = cc_no
                        self.map_parameter(midi_map_handle, t.mixer_device.sends[send_index], feedback_rule)
                    else:
                        self.send_midi((CC_STATUS+SEND_CH,SEND_BASE_CC+index+(send_index*NUM_STRIPS),0))
            if (index < len(self.song().return_tracks)):
                rtn_track = self.song().return_tracks[index]
                self.map_parameter(midi_map_handle, rtn_track.mixer_device.volume, feedback_rule)
                if (not rtn_track.mute):
                    vel = 127
            feedback_rule.cc_no += 1
 
        self.map_parameter(midi_map_handle, self.song().master_track.mixer_device.volume, feedback_rule)
        feedback_rule.cc_no += 1
        self.map_parameter(midi_map_handle, self.song().master_track.mixer_device.panning, feedback_rule)

src/a/b/AbletonLive9_RemoteScripts-HEAD/Nocturn2/DeviceController.py   AbletonLive9_RemoteScripts(Download)
                    feedback_rule.cc_no = DEV_BASE_CC+index
                    if (parameter):
                        self.map_parameter(midi_map_handle, parameter, feedback_rule)
                else:
                    Live.MidiMap.forward_midi_cc(script_handle, midi_map_handle, DEV_CH, DEV_BASE_CC+index)