Assigning Midi CC to Faders in ReaScript (lua)
Hey I'm trying to build a script that will assign my control surface's knobs to tracks with "bus" in the name in order of track #. I've got my script to get the track numbers of each bus, tell how many are present, and sort them in an array, but I don't know how to actually do the assigning.
I figure this must be possible given that you can set track volume based on MIDI with Reaper's built-in actions, but I may be wrong. Any advice?
|