how can i get a number of a highlighted clip? (i meam if i select a clip on scene 1 it should be like 1 ) to enter clip number here to delete automatio: self.song().tracks[self.get_modifier_value(“m1”].clip_slots[0].clip.clear_envelope(self.song().tracks[self.get_modifier_value(“m1”].devices[self.get_modifier_value(“m2”].parameters[1])
how can this self.song().tracks[0].clip_slots[0] be transformed into self.song().tracks[0].clip_slots[highlighted] ?
Here is a pic of what I’m talking about.
is there a way to add a listener to a list of parameters with one reaction?
I’ve attached my CSS template. It’s work in progress and sure there are a lot of things that can be done way better. Maybe it gives you some ideas. Regards, mj
Hi Dennis, Please try this: Log out of CSS, tick the ‘remember me’ check box and log back in, try generating a script again.
Hi, I use this to send parameter labels to Open Stage Control: SYSEX_START = (240, 126, 3,) val = self.song().view.selected_track.view.selected_device.parameters[loop_number].value valStr = tuple([ord(c) for c in self.song().view.selected_track.view.selected_device.parameters[loop_number].str_for_value(val)],) SYSEX_END = (247,) sysexMsg = SYSEX_START + tuple([loop_number],) + valStr + SYSEX_END self._send_midi(sysexMsg) I use different numbers in SYSEX_START to distinguish between track name, device name, parameter name. […]
I had a similar problem, so did a fresh install of the latest CSS. Double checked you’ve migrated whatever code needed for CSS 2.8 and back them up, then completely uninstall CSS. Download the latest from your user account and install 2.8 from fresh. Log in using your Remotely.io credentials. Note, I’m another end-user… dunno […]
Hi, I suggest you have to transform the string of the name in a tuple of integers. Let “pname” be the name-string of the parameter n_char = len(pname) text = [] for i in range(n_char): text.append(ord(pname[i])) text = tuple(text) may be the text integers tuple must be closed by a Zero, depends on the Sysex […]
As i see – now we can send sysex messages, so we can send names. Can you suggest a method to translate text names into sysex please?