Routing audio from another Ableton track to use as key input for adaptive gate

Andrew Prevatte's icon

Hi all,

I'm nearing the end of Electronic Music & Sound Design Volume 2 by Cipriani & Giri, and I am transferring their adaptive gate algorithm into a Max4Live device. I need to route audio from another Ableton audio track to trigger a gate for the main audio track upon which the device is on, where the average~d envelope for the triggering audio is used to dictate a gate for the main audio, but I'm not sure how to do the rerouting itself. I assumed that "plugin~ 1 2" would work, with channel 1 being the main audio and channel 2 being the rerouted audio (selecting "Audio To [main audio track]" on the triggering audio track in Ableton), but perhaps I misunderstood the plugin~ object. Any advice is appreciated! :)

TFL's icon

[plugin~ 1 2] gives you the tracks left channel (1) and right channel (2) audio. If you want to get another track input you need to do something like [plugin~ 1 2 3 4]. Check the 'multichannel' tab of the [plugin~] Help file.

And check [live.routing] to manage the actual routing.

EDIT: From old memories, after changing your plugin~ objects arguments, you might need to close the Max editor or maybe even delete and then undo the deletion of the device to reinstanciate it for the new inputs to be working.