Multichannel control surface in Max for Live with poly~

Mostly, this video is about how to think about "parallelized" patches: that is, patches in which you have multiple instances of a patch that need to run in parallel, such as in a multi-track drum machine. In this example, we're building a simple control surface that automatically finds the track gain faders in a Live set and allows them to be remotely controlled. It shows one of my favorite ways to use the poly~ object, which is known to be used to build a polyphonic synth, but is also useful any time you need multiple copies of the same patch running within a single Max object box. This video also includes a bit of explanation of how to interact with the Live API using JavaScript. Other videos mentioned in this tutorial Patching practices series:    • Max Patching Practices   Introduction to the Live API:    • Customize Ableton Live with the Live API   jspainter:    • Make pretty UIs with jspainter in Max MSP   TOC 00:00 Intro 01:20 live.remote~ 02:48 Patch structure 04:18 Finding track faders with Live API in JS 16:13 poly~ for parallelism 20:30 Message poly~ voices with 'setvalue' 26:50 Dynamic UI elements 28:56 Another example case