Control a device parameter by device name inside an instrument rack
Hi.
I followed the video tutorial named “Control a device parameter by device name” and adapted the reaction settings in order to only controll devices inside track 1.
So far everything works fine except when I put the divice inside an instrument Rack.
I want to do this in order to ba able to save and recall presets each time I save and recall the instrument rack according to a specific song.
This means I would like to be able to change the instrument rack’s name for each preset and still be able to control the devices parameters inside these racks refering to them by using standard names by implementing a method similar to the one described in the tutorial.
How could I do that?
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.
Hi.
Thanks for your answer.
I tried to implement your code in various ways but couldn’t make it work.
I actually would like to find the name ADSR in the instrument rack.
I tried to add and remove the S from the first device, also to type name ADSR, name[ADSR] and nothing worked…
Do you have some other advise?
Thanks

For the moment, the code that worked close to what I was trying to achieve is the following:
“ADSR” in self.song().tracks[0].devices[loop_number].name
I tried this with no success:
“ADSR” in self.song().tracks[0].devices[1].chains[0].devices[loop_number].name
Any suggestions anyone?
Your loop is at track.devices
But you are looking for a name at
Track.devices[x].chains[y].devices
You need to loop at this:
Track.devices[x].chains[y].devices
Then you will find a match.
This is a correct way to loop through a devices of a rack:
Loop – self.song().tracks[x].devices[y].chains[0].devices
Condition – self.song().tracks[x].devices[y].chains[0].devices[loop_number].name == “ADSR”
Thanks a lot.
I’m gonna try and report back.
Well… This didn’t work
I post screen shots below
Your questions are pretty simple – you can ask chatGPT for help. It can solve like a lot more complex tasks for remotify coding.
Glad you find it simple.
Chat GPT is actually what I tried yesterday evening for 3-4 hours at least.
With no sucess.
I have limeted coding skills.
Chat can help if you talk to it smart. This skill should be learned somehow.
Chat can do all coding work.
I have been struggling many times with CSS and coding. But after a success – comes a feel that it is really simple.
Wish you luck with your script!
Sign up
User registration is currently not allowed.
Hi.
So I tried to emplement your solution. Couldn’t find a way to make it work, What I tried so far is in this page.
Do you have any other suggestion?
Cheers