Control a device parameter by device name inside an instrument rack
track[1].device[1].chain[0].devices…. Scroll inside 0 chain of desired rack. Find by name. Store its numer as modifier. Use it to adress later.
track[1].device[1].chain[0].devices…. Scroll inside 0 chain of desired rack. Find by name. Store its numer as modifier. Use it to adress later.
Make two loops. One inside another. First loop scrolls tracks. Second scrolls device names. If your device is always not in some others rack cahin – and just placed on a track – you will be able to find it. Store loop iterations as modifiers – use them to adress parameters.
Hi. I’m pretty new to CSS3 but I think you should be able to do this by following this tutorial: https://www.youtube.com/watch?v=3v6zPfnkP3M I guess the name of the device you should use is the name of the instrument or Fx rack you use. I got macros moving by accident while trying to control devices inside an […]
A Max % value of 2.67 gives me a Macro parameter value of 3 and CSS log value of 3.390000104904175, but a Max % value of 0.0315 gives me a Macro parameter value of 4 and CSS log value of 3.809999942779541!?!?!?! Really having a hard time making sense of this.
Yes, I’ve tried all kinds of percentages, but still can’t figure it out. In this example, I’m trying to set the value of Macro 1 in a chain device with a range of 0-127. As I mentioned, the Parameter Range fields in CSS3 are labelled “Minimum (%)” and “Maximum (%)”, which would obviously lead the […]
Here is a working example of blink behavior with no time listener. Tempo relative, beat oriented for a clip_slot state. We need to define a function for blinking in the reaction. All is in one reaction. Listeners: self.song().tracks[self.track_num(0)].clip_slots[self.scene_num(0)].add_has_clip_listener For a function definition we use a separate Action block 1 – Actions: Then we need to […]
Does CSS allow def in actions? Like can i insert this in action block? And what is a proper way to declare functions? To make a repetetive blink for led and not to have a time listener in reaction.
For a blinking tempo synced beat related you can use this: Listeners: self.song().add_current_song_time_listener Condition: define what you want Action: t = self.song().get_current_beats_song_time() s = str(t).replace(",", ".") parts = s.split(".") if len(parts) >= 3 and parts[2].isdigit(): sub = int(parts[2]) else: beats_f = float(t) sub = int((beats_f % 1.0) * 4) + 1 if sub < 1: […]
You can add more modifiers directly in the script json file if you need to: Is there anyway we can get more than 20 Modifiers? Or simply write global variables in custom code: self.my_var = 1 We’re not able to support chatgpt or custom code but.. from what you have pasted there’s no indentation, which […]
There’s only 2 possible reasons that the generate script button would disappear, neither are related to IP address. 1. A styling bug has caused the button to visually disappear. 2. The app was unable to retrieve if the user had purchased a license when logging in. Logging out and back in may fix this.