SWS/S&M EXTENSION

A REAPER PLUGIN EXTENSION

The SWS / S&M extension is a collection of features that seamlessly integrate into REAPER, the Digital Audio Workstation (DAW) software by Cockos, Inc.
It is a collaborative and open source project.

SWS/S&M Extension

Color Utilities

The color utilities included in the SWS extension allow easier setting of track and item colors. You know those 16 colors that you can set in the Reaper color dialog as "custom" colors for your tracks and items? Now these are available directly in the menu for tracks and items as shown here:



This menu is also in the item settings menu available when you right click items, and there are actions available for key binding or macros.

If you open the Color Management dialog (one of the menu options) you can save/load those 16 colors to/from a file so you can have color sets for different themes, or projects. You can also save the custom colors to your .ReaperTheme file.



From here you can also setup a start and a stop color that work with the "gradient" commands, so you can color your tracks as such:




Themers, feel free to include 16 colors that work well with your themes in the ReaperTheme file. Add a section [SWS Colors] and values for custcolor1 through custcolor16 using the same format as the rest of the file. Save your current colors to the file first for a nice template.


Autocoloring 


Go to Main menu > Extensions > Auto Color/Icon to open the autocolor dialog.  Add "rules" by clicking on the Add button. Double click (name) and type in a piece of a track name, like "gtr". Then press the square of color next to the Remove button to choose your desired color. Then press "Apply" and any tracks with gtr in their name are colored. If you want this to happen automatically, check the Enable box. (Then anytime you change a track name or add a track, it applies for you.)

There are also special types of names/filters and colors, right click in the list to access them. For example, you can have unnamed (eg new) tracks automatically colored randomly.

Actions

General actions:

SWS: Open color management window
SWS: Open auto color window
SWS: Enable auto coloring
SWS: Apply auto coloring

Track actions:

SWS: Set selected track(s) to color white
SWS: Set selected track(s) to color black
SWS: Set selected track(s) to previous track's color
SWS: Set selected track(s) to next track's color
SWS: Set selected track(s) to one random custom color
SWS: Set selected track(s) to random custom color(s)
SWS: Set selected tracks to color gradient
SWS: Set selected track(s) to ordered custom colors
SWS: Set selected track(s) children to same color
SWS: Set selected track(s) to custom color 1
...
SWS: Set selected track(s) to custom color 16

Item Actions:

SWS: Set selected item(s) to color white
SWS: Set selected item(s) to color black
SWS: Set selected item(s) to one random custom color
SWS: Set selected item(s) to random custom color(s)
SWS: Set selected item(s) to color gradient per track
SWS: Set selected item(s) to color gradient
SWS: Set selected item(s) to ordered custom colors per track
SWS: Set selected item(s) to ordered custom colors
SWS: Set selected item(s) to respective track color
SWS: Set selected item(s) to custom color 1
...
SWS: Set selected item(s) to custom color 16