Thread: Colored faders
View Single Post
Old 02-28-2020, 11:59 AM   #4
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,721
Default

Quote:
Originally Posted by Thonex View Post
Thanks WT!

Is there a search phrase I should look for? Not sure where in the rtconfig to look.
OK... With the kind help of a Reaper user (gotta love this community) I was able to get the default V6 theme to show a blue fader head.

1) Based on the original "mcp_volthumb.png", put a blue fader head in a folder... in this example I called the folder "Blue". In that folder, I put the blue fader png called "mcp_volthumb.png". The png asset name is exactly the same as the original, but in a folder called blue.

2) Add this code below (in this case) Mixer Layout "A":

Code:
Layout 'A Blue' 'Blue'
	set mcp.volume .
EndLayout ;
This tell Reaper to look in the "Blue" folder for the colored asset. From what I understand, the line "set mcp.volume ." tells Reaper to use the blue fader in the Blue folder and all other assets are regular Reaper assets.

So, in context the code would look like this... look at the last few lines of code:

[EDIT --- CORRECTED PER lucas_LCS's OBSERVATION:

Code:
Layout "A"
	set mcp.label  .
	drawMcp 1

	Layout "150%_A" "150"
		set mcp.label  .
		drawMcp 1.5
		; ---- scaling error cleanup ----
		set mcp.volume.label 		+ mcp.volume.label [-1]
		; -------------------------------
	EndLayout

	Layout "200%_A" "200"
		set mcp.label  .
		drawMcp 2.0
	EndLayout

        Layout 'A Blue' 'Blue'
	        set mcp.volume .
        EndLayout ;

EndLayout
Hopefully this will help others.
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.

Last edited by Thonex; 03-01-2020 at 02:57 PM.
Thonex is offline   Reply With Quote