[SOLVED] Conflict selecting Compressor device when Glue_compressor is on the track

66 viewsGeneral
0

Hi,

I’m wanting to have 4 dedicated knobs controlling Ableton compressor, no matter where the device is on a track.

I have a reaction finding the compressor by name, if a track is changed, and assigning m1 modifier the device loop iteration number, and then a device parameter mapping using m1 as the control my hardware should edit. (Sorry if that sounds confusing)

This all seems to work, however, if I have a Glue compressor and a Compressor on a track, my ‘match text exactly’ doesn’t seem to ignore it, and I end up controlling the glue compressor.

My reaction code looks like this
self.song().tracks[0].devices[0].name == "Compressor"

I have tried hard code the ignore by adding
self.song().tracks[0].devices[0].name != "Glue compressor"

but still no dice, any help here would be appreciated

admin Changed status to publish May 22, 2024
Attached Files:
0

Hey John

I hadn’t tried classes but ‘Device – Class display name’ worked perfectly.

Thanks!

ref for anyone coming across this at a later date :
`self.song().view.selected_track.devices[loop_number].class_display_name == “Compressor”`

admin Changed status to publish May 22, 2024
Attached Files:
0

Have you tried the other options for finding names: “class display name” or “class name”. Check their descriptions in the Reactions menu.

admin Changed status to publish May 22, 2024
Attached Files:
0
Attached Files: