Old 02-24-2020, 11:14 AM   #1
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
Default Colored faders

Fantastic WT!!!

Quick question (hopefully)... can you point me to a link or instruction on how to create/integrate different colored fader heads (the kind you find on certain themes in the Track Layout options)?
__________________
Cheers,
Andrew K
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB
Thonex is offline   Reply With Quote
Old 02-25-2020, 06:08 AM   #2
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 2,867
Default

Quote:
Originally Posted by Chimpscookie View Post
Any chance this will be used as the default?
No.

Quote:
Originally Posted by Thonex View Post
can you point me to a link or instruction on how to create/integrate different colored fader heads (the kind you find on certain themes in the Track Layout options)?
Crack open a theme that does it, here's one, its a trivial layout thing.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 02-25-2020, 09:26 AM   #3
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
Default

Quote:
Originally Posted by White Tie View Post
No.



Crack open a theme that does it, here's one, its a trivial layout thing.
Thanks WT!

Is there a search phrase I should look for? Not sure where in the rtconfig to look.
__________________
Cheers,
Andrew K
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB
Thonex is offline   Reply With Quote
Old 02-28-2020, 11:59 AM   #4
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
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
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB

Last edited by Thonex; 03-01-2020 at 02:57 PM.
Thonex is offline   Reply With Quote
Old 02-29-2020, 11:51 PM   #5
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 1,042
Default

@ Thonex
Does the code you posted actually work?
It seems odd, because normally fader color layouts need be nested in the parent layout.
Like this:

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

::
lucas_LCS is online now   Reply With Quote
Old 03-01-2020, 12:23 PM   #6
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
Default

Quote:
Originally Posted by lucas_LCS View Post
@ Thonex
Does the code you posted actually work?
It seems odd, because normally fader color layouts need be nested in the parent layout.
Like this:

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

::
Yes... my code snippet worked -- in fact, all my colored faders worked with no issues I could see (see code below). I wasn't sure where to put it so I experimented. Are there edge cases where my code placement wouldn't work?

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

EndLayout

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

Layout 'A Green Fader' 'Green_Fader'
	set mcp.volume .
EndLayout ;

Layout 'A Orange Fader' 'Orange_Fader'
	set mcp.volume .
EndLayout ;

Layout 'A Purple Fader' 'Purple_Fader'
	set mcp.volume .
EndLayout ;

Layout 'A Yellow Fader' 'Yellow_Fader'
	set mcp.volume .
EndLayout ;

Layout 'A Red Fader' 'Red_Fader'
	set mcp.volume .
EndLayout ;
Example:

__________________
Cheers,
Andrew K
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB

Last edited by Thonex; 03-01-2020 at 12:45 PM.
Thonex is offline   Reply With Quote
Old 03-01-2020, 01:52 PM   #7
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 1,042
Default

Quote:
Originally Posted by Thonex
Are there edge cases where my code placement wouldn't work?
I suspect it works because Layout A is the default layout, so it automatically just takes those settings.
If you set up color fader layouts for Layout B the same way and it doesn't work, then nesting will be needed there.
Then again, maybe WT has worked some WALTER voodoo to make nesting unnecessary.

::
lucas_LCS is online now   Reply With Quote
Old 03-01-2020, 02:02 PM   #8
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
Default

Quote:
Originally Posted by lucas_LCS View Post
I suspect it works because Layout A is the default layout, so it automatically just takes those settings.
If you set up color fader layouts for Layout B the same way and it doesn't work, then nesting will be needed there.
Then again, maybe WT has worked some WALTER voodoo to make nesting unnecessary.

::
I'll try later today. It would be so much less verbose if we didn't have to create a whole duplicate of a layout just to swap out a fader color.
__________________
Cheers,
Andrew K
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB
Thonex is offline   Reply With Quote
Old 03-01-2020, 02:52 PM   #9
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
Default

Quote:
Originally Posted by lucas_LCS View Post
I suspect it works because Layout A is the default layout, so it automatically just takes those settings.
If you set up color fader layouts for Layout B the same way and it doesn't work, then nesting will be needed there.
Then again, maybe WT has worked some WALTER voodoo to make nesting unnecessary.

::
Lucas,

I want to thank you!! You are 100% correct. If you start adding colored faders to B and C layouts... things get unpredictable.

I'm going to edit my code above so as to not mislead users. Thanks again Lucas!!

In the meantime... here is an example of it in action. Thanks again Lucas:

__________________
Cheers,
Andrew K
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB

Last edited by Thonex; 03-01-2020 at 03:25 PM.
Thonex is offline   Reply With Quote
Old 03-02-2020, 09:18 AM   #10
DeathByGuitar
Human being with feelings
 
DeathByGuitar's Avatar
 
Join Date: Jan 2011
Location: Greensboro, NC
Posts: 460
Default

Quote:
Originally Posted by Thonex View Post
Lucas,

I want to thank you!! You are 100% correct. If you start adding colored faders to B and C layouts... things get unpredictable.

I'm going to edit my code above so as to not mislead users. Thanks again Lucas!!

In the meantime... here is an example of it in action. Thanks again Lucas:

This look BEAUTIFUL. I hope you're planning on posting this to the stash/this forum section when you're done. I loooove the colors
DeathByGuitar is offline   Reply With Quote
Old 03-02-2020, 11:19 AM   #11
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
Default

Quote:
Originally Posted by DeathByGuitar View Post
This look BEAUTIFUL. I hope you're planning on posting this to the stash/this forum section when you're done. I loooove the colors
Sure. I’ll be happy to share it. Since I designed it for my own needs, I’ll only be doing a 100% and 200% (Retina) version. There won’t be any 75% or 150% layouts since I never found them useful for me in a practical way.

Maybe this week.

Cheers,

Andrew K
__________________
Cheers,
Andrew K
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB
Thonex is offline   Reply With Quote
Old 03-02-2020, 12:06 PM   #12
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 1,042
Default

Hi Thonex,

Please open a dedicated thread for your theme to help keep White Tie's thread stay focused on his mod supplies.

::
lucas_LCS is online now   Reply With Quote
Old 03-02-2020, 12:18 PM   #13
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,076
Default

Quote:
Originally Posted by lucas_LCS View Post
Hi Thonex,

Please open a dedicated thread for your theme to help keep White Tie's thread stay focused on his mod supplies.

::
Undertood. Thanks Lucas.
__________________
Cheers,
Andrew K
v6.03+dev0114 - January 14 2020 • Mac 10.12.+ • i7 Quad 2.9GHz • 24GB
Thonex is offline   Reply With Quote
Old 03-04-2020, 03:24 AM   #14
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 2,867
Default

Quote:
Originally Posted by Thonex View Post
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.
That's not correct, its just that you need to have any WALTER element defined for Reaper to regard it as a 'real' layout. Otherwise Reaper won't list the layout.

Quote:
Originally Posted by lucas_LCS View Post
Then again, maybe WT has worked some WALTER voodoo to make nesting unnecessary.
Indeed; the Def6 theme doesn't use any nesting. Whatsoever. Because of all the extra images for 150%/200%, the most sane thing for me to do to prevent the file size ballooning was to make the entire theme, including all layouts and variations, using a single set of images.

Quote:
Originally Posted by Thonex View Post
It would be so much less verbose if we didn't have to create a whole duplicate of a layout just to swap out a fader color.
You do; you'll need to duplicate the WALTER for every layout. You could use a macro to do this, but I wouldn't bother.

Quote:
Originally Posted by lucas_LCS View Post
Hi Thonex,

Please open a dedicated thread for your theme to help keep White Tie's thread stay focused on his mod supplies.
Indeed, what a thoroughly bizarre place to put it. Shooting yourself in the foot because it means its only going to be seen by me if I'm reading the thread, its only going to be seen by anyone else who could help (which is a lot of people, this is basic stuff) if they're reading this thread, and then it also makes the thread confusing for anyone interested in the mod supplies.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.