Control a device parameter by device name inside an instrument rack

649 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
1

Create 3 reactions.

1st will search a track by its name and store its number as modifier m6

2nd would search your rack device and store its number as modifier m15.

3rd would loop rack device to find your desired device since m15 was updated. Store its number as modifier m19.

I am using this to find my looper on my guitar track:

Trigger:

Modifier m15 was updated

Loop:

self.song().tracks[self.get_modifier_value(“m6”)].devices[self.get_modifier_value(“m15”)].chains[0].devices

Conditions:

self.song().tracks[self.get_modifier_value(“m6”)].devices[self.get_modifier_value(“m15”)].chains[0].devices[loop_number].name == “Looper”

Actions:

self.set_modifier_value(“m19”, loop_number)

Next i can control looper parameters with adressing with modifiers.

This is a dump way that i use to adress desired device.

I suppose that there can be more elegant way to code one loop into another.

But this works – and it is a good start to learn CSS.

Hellem Posted new comment

Hi.

Thanks for your help and for sharing your code.

But I finally had to go the easy way: mapping device parameters to macros and controlling these with CSS.

This attempt was and still is important to me because I’m starting a new journey using a new live eurorack modular setup with ableton. I actually removed my hardware sequencer, a couple of envelopes and analog mixer to use a computer with recorded sequences and midi controllers instead.

At this stage, I only sctatched the surface of Ableton and am totally new in the use of it in a live context with such a “complex” setup.
I’m still trying to figure out which is the best way to save/recall presets while recording/using automation and still having manual control over parameters.

I need to have a kind of set and forget approach.
I felt like this method of controlling devices by name would offer a more flexible approach but at this point I’ve been stuck since a couple of months without beeing able to do music. And I can no longer afford to remain stuck. So I think I will leave this for now.
Still I’m pretty sure our discussion has been helpfull to a couple of people as I see the discussion had some attention.

Thanks again for your help.
Cheers.
H

I would suggest microrack.org for modular synths.
Personally I prefer ha-lion 6 vst 2 on ableton 11 for midi PC support. So I have 127 organized list of instruments. Easy switching with midi PC messages.
I can control with remotify scripts, and see names and states on touchOSC.

You can share your script here, I can check it.

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