Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Color Themes and Icon Sets

Reply
 
Thread Tools Display Modes
Old 06-12-2022, 06:16 AM   #1
gapalil001
Human being with feelings
 
gapalil001's Avatar
 
Join Date: May 2016
Location: Kyiv, Ukraine
Posts: 545
Default WALTER: how several combinators logic works?

i try to understand how does several combinators interacts with values in brackets
by color i marked elements that i guess affects left to right
Code:
set tcp.element h>somebp{2} + 2 * 1 - 4 / 2 [n1 n2 n3 n4 0 0 0 0]

or 

set tcp.blabla + + [n1 n2 n3 n4] [n1 n2 n3 n4]
what is right?

Last edited by gapalil001; 06-12-2022 at 02:38 PM.
gapalil001 is offline   Reply With Quote
Old 06-13-2022, 02:15 AM   #2
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,984
Default

Neither. See my answer here.

Code:
set tcp.blabla + [n1 n2 n3 n4] [n1 n2 n3 n4]
Is I think what you want. More precisely:
Code:
+ [1 2 3 4] [5 6 7 5]

is

[1+5 2+6 3+7 4+5]
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 06-13-2022, 03:25 AM   #3
gapalil001
Human being with feelings
 
gapalil001's Avatar
 
Join Date: May 2016
Location: Kyiv, Ukraine
Posts: 545
Default

thank you! it works in my theme from the beginning. maybe whole my rtconfig is builded with it
Quote:
Originally Posted by White Tie View Post

Code:
+ [1 2 3 4] [5 6 7 5]

is

[1+5 2+6 3+7 4+5]
but i am asking about situations when the combinator is not single but several, like here (def6 random examples):
Code:
	set phaseHide_h	             + + + * scale 4 element_h tcp.solo{1} tcp.solo{3}
        set master.mcp.volume        - + + * scale [69 0 21] [0 stretch_sec 0 stretch_sec] [0 master.mcp.volume.label{3}] [0 0 0 master.mcp.volume.label{3}]
sorry if i ask a lot of questions, i just want to prepare some cool stuff for the next update
gapalil001 is offline   Reply With Quote
Old 06-13-2022, 04:15 AM   #4
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,984
Default

That's what I meant by see my answer here. Its just polish notation.

Code:
set phaseHide_h	             + + + * scale 4 element_h tcp.solo{1} tcp.solo{3}

is

set phaseHide_h   + 
                     + 
                        + 
                           * scale 4
                           element_h 
                        tcp.solo{1} 
                     tcp.solo{3}

or in non-polish 

(scale * 4) + element_h + tcp.solo{1} + tcp.solo{3}
Which is a profoundly boring and non-clever line of walter, right?

I think you need to stop looking at the default theme walter as a learning guide, its not a repository of arcane knowledge. Its just the same simple stuff but used in a complicated way, its not going to teach you "how WALTER works", its going to teach you "how did WT use WALTER once, in a different circumstance, and possibly not optimally?"
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 06-13-2022, 09:58 AM   #5
gapalil001
Human being with feelings
 
gapalil001's Avatar
 
Join Date: May 2016
Location: Kyiv, Ukraine
Posts: 545
Default

Quote:
Originally Posted by White Tie View Post
That's what I meant by see my answer here. Its just polish notation.
thank you! will mess with it!
gapalil001 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 05:03 PM.


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