Control a device parameter by device name inside an instrument rack

651 viewsCSS QuestionsDevice Parameter
0

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?

Hellem Answered question
0

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?

Hellem Posted new comment

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.

You are viewing 1 out of 7 answers, click here to view all answers.