Folders - reaper-csi/reaper_csurf_integrator GitHub Wiki

If you prefer to work with folders within Reaper, it's easy to create a VCA-like workflow by combining CSI with some existing Reaper actions!

You'll be able to expand and collapse folders directly from your surface and toggle between seeing all tracks and a folder only view.

Pre-Condition: Track Visibility on Surface Follows Mixer Control Panel

For these features to work as expected, you'll need to ensure that whatever Page you're working with in CSI is setup so Track Visibility on Surface Follows the Mixer Control Panel. To find this setting:

  1. Open Reaper's Preferences
  2. Go to the Control/OSC/Web section
  3. Click on Control Surface Integrator to select it
  4. Click Edit
  5. Click to select your Page on the left-hand side
  6. Click Edit
  7. Make sure Track Visibility on Surface follows "Mixer Control Panel" radio button is selected
  8. Click OK several times to save the changes if necessary

Expanding and Collapsing Folders

Let's say your mix makes extensive use of folder tracks and you'd like the option to quickly expand and collapse your folders right from your surface. You can do that with a combination of CSI plus some carefully sequenced Reaper actions.

In the below example, I'm using Option+Select to expand or collapse the children of the selected folder track, essentially being able to expand or collapse a folder. You'll notice that we have two different actions being triggered from a single widget. CSI will run these two actions in sequence from a single button press (in this case, a modified button press).

Zone "Channel|"
    TrackNavigator
    Option+Select|   TrackUniqueSelect
    Option+Select|   Reaper 41665       //Mixer: Show/hide children of selected tracks
ZoneEnd

Toggle "Folder Mode"

Similarly, if you would like to create a Mixer view that will toggle back and forth between displaying all tracks on your surface, or only showing folder tracks, CSI also allows you to do that.

In the below example, we're able to create a simple macro that selects all top-level folder tracks and toggles between showing and hiding the children in the mixer. CSI will run these three actions in order upon the firing of this action.

Zone "Buttons|"
        Shift+F4     Reaper 41803     //Track: Select all top level tracks
        Shift+F4     Reaper 41665     //Mixer: Show/hide children of selected tracks
        Shift+F4     Reaper 40297     //Track: Unselect all tracks
ZoneEnd

Note: these actions will also impact track visibility in the MCP.