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

Reply
 
Thread Tools Display Modes
Old 03-14-2018, 01:51 AM   #1
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default Defining layouts that would change both tcp and mcp panels in one pass...

Ideally, the GlobalLayout command would allow this. But I'm sill wondering what this command is actually made for... I naively thought that it could help me defining a layout which would modify both tcp and mcp panels behavior in one pass, choosing it in the main layout list. For this, I defined the following one to get panels which would have no control related to recording, to be used with Bus/Folder tracks :

GlobalLayout "Bus"
set tcp.recmon [0]
set tcp.recmode [0]
set tcp.recarm [0]
set tcp.recinput [0]
set tcp.phase [0]
set tcp.fxin [0]
set tcp.io h<49 w<252 [0] [166 3 76 18] [73 29 76 18]
set tcp.env h<49 w<278 [0] [245 3 23 18] [152 29 23 18]
set tcp.fx h<49 w<328 [0] [271 3 29 18] w<236 h<76 [0] [25 55 29 18] w<288 [178 29 29 18] w<418 [198 29 29 18 1 0 1 0] [324 29 29 18]
set tcp.fxbyp h<49 w<328 [0] [300 3 18 18] w<236 h<76 [0] [54 55 18 18] w<288 [207 29 18 18] w<418 [227 29 18 18 1 0 1 0] [353 29 18 18]
set tcp.fxparm w<236 [27 83 252 20 0 0 1 1] w<436 [27 57 252 46 0 0 1 1] [27 57 400 46 0 0 0 1]
set mcp.recmon [0]
set mcp.recmode [0]
set mcp.recarm [0]
set mcp.recinput [0]
set mcp.phase [0]
set mcp.fxin [0]
set mcp.fx h<300 [14 3 35 18] [14 22 35 18]
set mcp.fxbyp h<300 [49 3 14 18] [49 22 14 18]
EndGlobalLayout


No matter where I put it in the rtconfig.txt, it doesn't behave as expected as several issues are arising, mainly :
- the GlobalLayout taking precedence on all tracks over the defined default ones, even if it hasn't been choosed,
- other 'normal' layouts being applied to all tracks instead of being so only for the selected one(s).
I also have tried to divide the GlobalLayout in two, on part related to the arrangement being put after the default tcp definitions, the other one related to the mixer, after the mcp ones : more or less the same results...
I also tried to replace EndGlobalLayout by EndLayout : no changes.

And the related documentation available here is of no help at all...

So, how to define efficiently a layout which would modify both tcp and mcp panels of selected track(s) in one pass, without having to program lua scripts ?

Thanks for any enlightment...
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...

Last edited by cubic13; 03-14-2018 at 02:24 AM. Reason: Typos...
cubic13 is offline   Reply With Quote
Old 03-14-2018, 11:35 AM   #2
Vollgerd
Human being with feelings
 
Vollgerd's Avatar
 
Join Date: Sep 2009
Location: Monnem
Posts: 1,133
Default

Hallo,
I've never heard of a global layout before. I also find no explanation for this in your link.
Your wish is mine, too.
But I don't think that's gonna work.
I regulate this via actions, and buttons in the toolbar.

Greetings
Gerd
Vollgerd is offline   Reply With Quote
Old 03-14-2018, 11:46 AM   #3
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

As I understand it, the GlobalLayout command defines where these Layouts are listed for selection:
Quote:
Originally Posted by WALTER Reference
If you define layouts with the same name for various UI contexts, you may wish to expose them as a global theme layout using GlobalLayout, which then lists that layout in the main layout list.
Not exactly sure though (since I haven't tested this yet) if 'main layout list' is referring to the Global Layout box under View > Screensets/Layouts > Layouts. Or just to the Track > Track Layout menu.

Last edited by solger; 03-14-2018 at 12:00 PM.
solger is offline   Reply With Quote
Old 03-14-2018, 02:52 PM   #4
Luster
Human being with feelings
 
Luster's Avatar
 
Join Date: Nov 2015
Posts: 642
Default

As far as I understood GlobalLayout is just one and you can't give it a name and make several of them. With global is meant that you just put in the basic parameters of your theme which are common with every layout you define later. Like you put only needed graphic files in subfolders for the layouts and not again the whole MCP/TCP.
Luster is offline   Reply With Quote
Old 03-14-2018, 11:12 PM   #5
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

Thanks for your answers...

@Vollgerd
The GlobalLayout command is mentioned at the end of the "Layouts" paragraph.

@solger
AFAICS, the "main layouts list" would be the one that you find under the 'Actions' menu, as it doesn't have the same content as contextual one, but well...

@Luster
The doc is as confusing as could be about this : should we name a GlobalLayout ? Can there be more than one GlobalLayout in a given theme ? Where to place it ? Should we end it with EndLayout or EndGlobalLayout ? Mysteries...

Overall, it seems that nothing is clear about the concept and how it is supposed to work. I really would like to know if it could or not be used for the kind of usage I was talking about in my first post...
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...
cubic13 is offline   Reply With Quote
Old 03-15-2018, 03:16 AM   #6
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
Default

Quote:
Originally Posted by cubic13 View Post
I really would like to know if it could or not be used for the kind of usage I was talking about in my first post...
No they can't.

I don't recall ever finding a use for the GlobalLayout command. I have a vague memory that it came from an FR about top level rather than per-track layout organisation, or something. Anyway, some themes may use it so its there to stay. Shrug.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-15-2018, 09:00 AM   #7
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

Quote:
Originally Posted by White Tie View Post
No they can't.

I don't recall ever finding a use for the GlobalLayout command. I have a vague memory that it came from an FR about top level rather than per-track layout organisation, or something. Anyway, some themes may use it so its there to stay. Shrug.
Thank for the confirmation, White Tie. Will have to do with 'normal' layouts as usual, then...
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...
cubic13 is offline   Reply With Quote
Old 03-17-2018, 11:38 PM   #8
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

man oh man... yeah Cubic... I had that same wish years back... but could find no way withing a theme... and it's kinda too bad but at the same time I can understand why we don't have it...

My personal work around was to make a pile of track templates, each set up with the layouts desired for the tcp and mcp in combination [along with the other settings I want to see on a new track]...

then those can be put into actions using the Xenakios/SWS: [Deprecated] Load track template 01, 02, etc.

you do have to edit the S&M.ini file to allow more 'slots'...

so example of mine ...just a part of it:

Quote:
[TrackTemplates]
Max_slot=20
Slot1="01 Circus Pastel.RTrackTemplate"
Desc1="Pastel 01"
Slot2="02 Circus Pastel.RTrackTemplate"
Desc2="Pastel 02"
Slot3="03 Circus Pastel.RTrackTemplate"
Desc3="Pastel 03"
Slot4="04 Circus Pastel.RTrackTemplate"
Desc4="Pastel 04"
Slot5="05 Circus Pastel.RTrackTemplate"
Desc5="Pastel 05"
Slot6="06 Circus Pastel.RTrackTemplate"
Desc6="Pastel 06"
Slot7="07 Circus Pastel.RTrackTemplate"
Desc7="Pastel 07"
Slot8="08 Circus Pastel.RTrackTemplate"
Desc8="Pastel 08"
Slot9="09 Circus Pastel.RTrackTemplate"
Desc9="Pastel 09"
but once you have the templates and the actions, then the actions can be added to a Toolbar or, as in my case, to the TCP rt clk menu
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 03-18-2018, 02:08 AM   #9
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

Quote:
Originally Posted by White Tie View Post
...Anyway, some themes may use it so its there to stay. Shrug.
These for instance, but there surely are more:
  • BBS Theme - by hwhalen
  • ReaDave-V1-4 - by ReaDave
I searched for themes with GlobalLayouts a while ago to maybe use that feature and see how these themers have used it. But for me there's no need either. In the Screensets/Layout window the upper Mixer/Track panel layouts actually are "Global" layouts if you so will, they affect ALL mcp/tcp that haven't set a layout manually in the mixer or arrange view.
The only difference is that you have to do it for mcp and tcp separately.

That's not as time consuming and exhausting as editing the rtconfig...at least for me.

Peter
__________________
If the v5 Default Theme is too bright for you take a gander at my mod of it: Default v5 Dark Theme
Pet is offline   Reply With Quote
Old 03-19-2018, 12:10 PM   #10
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

@hopi
Actually, I'm working on an update of my Nitrogen Pack. So, your solution could indeed be one, but the problem I have with this is that users/testers of the involved theme would have to make the track templates and edit the S&M.ini file, which means that the SWS extensions would have been already previously installed.
I would like to avoid to make a too complicated installation process, as the one for my Cubicpack themes : looking back, I think that it didn't help these...

@Pet
The BBS theme is interesting in the way it uses GlobalLayout command. I didn't have the time yet to test it in a thorough way but, quickly looking its rtconfig.txt gave me few ideas about how to use it.

Beside this, I would like to avoid the use of the Screensets/Layouts window as the actions and layouts defined in it are not changing with the theme used here and, AFAICS, we cannot save/load a combination of layouts related to a given theme. But maybe I have a problem using it : I'll look a little more at it to see what could be done...

Thanks to you both !
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...
cubic13 is offline   Reply With Quote
Old 03-19-2018, 01:15 PM   #11
Luster
Human being with feelings
 
Luster's Avatar
 
Join Date: Nov 2015
Posts: 642
Default

Maybe have a look at my solution for this problem. I packed with the theme a whole bunch of scripts you need to import to get some convenient layout switch actions for your toolbar or whatever.
https://stash.reaper.fm/theme/2001/R...mplete.zip.001
Luster is offline   Reply With Quote
Old 03-21-2018, 12:42 AM   #12
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

Thanks, Luster. Will look at this also...


Beside this, I made other tests concerning the global layouts. From these, I found the following rules to use them, which could be helpful for some :

1) They appear only in the main layouts list (Options>Layouts menu).

2) They are applied to ALL tracks excepting the ones on which non default layouts have been already applied. If we want to apply a global layout to a track, this one must have been previously set with the default layout on it for a given UI context.

3) They must be put at the very end of the rtconfig.txt : if we put them at the beginning of it, a not so nice display of Reaper UI could be expected, a lot of controls appearing then at their Reaper default states.

4) We can use several of them, each one being named and carefully bound with GlobalLayout..EndGlobalLayout statements. If we end one with only EndLayout, the next one(s) will not be available.

5) Each global layout includes 'normal' layouts applicable for different UI contexts : each of them must have all the definitions necessary to display correctly the involved panel, so it's probably better to put a clear [panel].* instruction at the beginning of each one and redefine entirely the panel.

6) Each layout included in a global one must be named exactly the same way as it, which means that, in the following case...

Code:
GlobalLayout "Narrow - Bus"

Layout "Bus"
   TCP settings
EndLayout

Layout "Narrow - Bus"
   MCP settings
EndLayout

EndGlobalLayout
...MCP settings will be applied, but TCP ones won't.

Overall, the GlobalLayout command could be useful in very specific cases but well, it's not working exactly the way I was hoping for my 'Bus' task. And I would have liked to see something more consistent about the way it actually works in the documentation, instead of having to spend few hours to see what's truely behind it...
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...

Last edited by cubic13; 03-21-2018 at 02:02 AM. Reason: Typos...
cubic13 is offline   Reply With Quote
Old 03-23-2018, 11:11 PM   #13
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

Cubic... thanks for digging into this and for reporting it so clearly...

It indeed would be a good feature to have working well in a theme...

on the other hand, reaper does provide a means to the end for a user with track templates, which are really great in that we can pretty much have all kinds of things specified and ready to use.
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 03-26-2018, 08:27 AM   #14
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

Hi, hopi, and sorry for the late answer...

I am still considering it, but a problem remains : how to insert these templates and make them easily usable for an eventual user who wants to test the Nitrogen pack ?
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...
cubic13 is offline   Reply With Quote
Old 04-01-2018, 08:09 PM   #15
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

yes that IS a problem... and a few times just for my special friends I have done this.... but you won't love my way...

what I have done is set it all up in a complete reaper portable install, along with a configuration zip for it saved.... it has everything, toolbars, custom actions, you name it....

and I send them that... they just add their own lic file and go from there...

It makes it easy for them... and a PITA for me... LoL
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 04-02-2018, 04:18 AM   #16
mawi
Human being with feelings
 
Join Date: Apr 2011
Location: Germany
Posts: 1,185
Default

Global layouts are possible. They just have to be entered correctly. See picture.

They are specified under the default layout.

Last edited by mawi; 04-02-2018 at 04:30 AM.
mawi is offline   Reply With Quote
Old 04-02-2018, 08:33 AM   #17
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

Quote:
Originally Posted by hopi View Post
yes that IS a problem... and a few times just for my special friends I have done this.... but you won't love my way...

what I have done is set it all up in a complete reaper portable install, along with a configuration zip for it saved.... it has everything, toolbars, custom actions, you name it....

and I send them that... they just add their own lic file and go from there...

It makes it easy for them... and a PITA for me... LoL
It indeed should work, but it's not a realistic way to set all this for a theme available in the stash. I'm especially afraid to make a theme which would involve a configuration zip : it's prone to destroy a user config if no careful save of the previously existing one hasn't been done.


Quote:
Originally Posted by mawi View Post
Global layouts are possible. They just have to be entered correctly. See picture.
...
They are specified under the default layout.
Yes, they work. The problem is that they do not match my need, which is to be able to set a layout which would reliably acts on both tcp and mcp panels, this, only for a given set of selected tracks.
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...

Last edited by cubic13; 04-02-2018 at 08:43 AM.
cubic13 is offline   Reply With Quote
Old 04-02-2018, 08:43 AM   #18
mawi
Human being with feelings
 
Join Date: Apr 2011
Location: Germany
Posts: 1,185
Default

Quote:
Originally Posted by cubic13 View Post
Yes, they work. The problem is that they do not match my need, which is to be able to set a layout which would reliably acts on both tcp and mcp panels, this, only for a given set of selected tracks.
For selected tracks, simply select the desired layout under "Right click>Track layout".

Last edited by mawi; 04-02-2018 at 08:51 AM.
mawi is offline   Reply With Quote
Old 04-02-2018, 08:51 AM   #19
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

Quote:
Originally Posted by mawi View Post
For selected tracks, simply select the desired layout under "Options>Layouts".
It doesn't work, here : as I said previously (post #12), any global layout that I tried were applied to ALL the tracks excepting the ones which have been previously set with a non default layout.
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...
cubic13 is offline   Reply With Quote
Old 04-02-2018, 09:08 AM   #20
mawi
Human being with feelings
 
Join Date: Apr 2011
Location: Germany
Posts: 1,185
Default

Quote:
Originally Posted by cubic13 View Post
It doesn't work, here : as I said previously (post #12), any global layout that I tried were applied to ALL the tracks excepting the ones which have been previously set with a non default layout.
You're right, that's strangely not possible.
mawi 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 06:03 AM.


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