Not having much luck with getting the height of the MCP. But I've got a version going that works well for me, but is not flexible in the slightest.
For now this does the trick. I've got a film mix in a few days, so that'll show how well this functions. I still need to do proper automation buttons, but the style works well for me, since that's what I need to know at a glance.
And I'll keep reading the WALTER guide. The walter SDK page is barebones at best. Some examples are sprinkled in here and there, but I'd hardly call that documentation geared towards beginning theme makers.
Screenshot. I use a 1440p screen, so other folks might want to correct the mcp.meter and mcp.volume size to fit their screens. I just don't have the energy to puzzle this out any more today.
Here's the pack of the image subdirectory and the rtconfig.txt . It's the default theme with the added layout below.
https://stash.reaper.fm/31239/Defaul...edRTConfig.zip (402kB)
Code:
Layout "Sidebar" "sidebar_session"
clear mcp.*
set mcp.size [134 460]
; ###### edge stuff
set jack [0 0 0 0]
set jill [0 1 0 1]
set mcp.meter [0 0 44 400 jack]
;set mcp.meter * [1 1 1 0.3 1 1 1 1] [0 0 44 mcp.size{2} jill]
set mcp.meter.vu.div [2]
set mcp.meter.readout.color [255 255 255 150 0 0 0 0]
set mcp.meter.scale.color.unlit.top ?recarm [200 74 33 50 0 0 0 0] [255 255 255 150 0 0 0 0]
set mcp.meter.scale.color.unlit.bottom ?recarm [200 74 33 50 0 0 0 0] [0]
set mcp.meter.scale.color.lit.top ?recarm [255 160 72 255 0 0 0 255] [255 255 255 150 0 0 0 0]
set mcp.meter.scale.color.lit.bottom ?recarm [255 160 72 255 0 0 0 255] [255 255 255 150 0 0 0 0]
set mcp.pan.fadermode [1]
; ###### START X- and Y-coordinates for the block on controls below the meter
; "+" operator says "add the first to the second argument", which are the two sets [0 590] and the larger set after it
set control_start + [0 0] [0 mcp.meter{h}] ; if we want to offset, do it in the first pair of values
set mcp.pan.label + control_start [0 0 44 39 jack]
; two "+" operators say "add the first to the second argument, then add the third argument to that"
; here we add three values to get a resulting set of values for mcp.pan
; {h}eight of mcp.pan.label, the {y}-value of mcp.pan.label and "0" from the third set are added together
; for the final resulting value of the y-value of mcp.pan
; the point of all this is to set the starting value via the variable "control_start" and the rest just follows
set mcp.pan + + [0 mcp.pan.label{h}] [0 mcp.pan.label{y}] [4 0 34 34 jack]
; in this example : [0 39 0 0 0 0 0 0] + [0 590 0 0 0 0 0 0] + [4 0 34 34 jack]
; = [4 629 34 34 0 0 0 0]
; The next elementm mcp.width.label builds off those last values
set mcp.pan.label.color [158 158 158]
set mcp.pan.label.color [108 118 123]
set mcp.pan.label.margin [2 20 2 0 0.5 0.5]
set mcp.width.fadermode [1]
set mcp.width.label + + [0 mcp.pan{h}] [0 mcp.pan{y}] [1 0 44 30 jack]
set mcp.width + + [0 mcp.width.label{h}] [0 mcp.width.label{y}] [3 0 36 34 jack]
set mcp.width.label.margin [2 4 2 4 0.5 0.5]
set mcp.width.label.color [128 136 142 255]
set mcp.width.color [204 204 204 255]
set mcp.pan.color [204 204 204 255]
set mcp.env + + [0 mcp.width{h}] [0 mcp.width{y}] [ 0 30 44 30 jack]
set mcp.fxbyp + + [0 mcp.env{h}] [0 mcp.env{y}] [10 10 24 13 jack]
set mcp.fx + + [0 mcp.fxbyp{h}] [0 mcp.fxbyp{y}] [10 00 24 20 jack]
set mcp.mute + + [0 mcp.fx{h}] [0 mcp.fx{y}] [ 7 40 30 30 jack]
set mcp.solo + + [0 mcp.mute{h}] [0 mcp.mute{y}] [ 7 10 30 30 jack]
set mcp.io + + [0 mcp.solo{h}] [0 mcp.solo{y}] [ 5 40 34 33 jack]
set mcp.volume.fadermode h>=437 [0] [1]
set mcp.volume.label + + [0 mcp.io{h}] [0 mcp.io{y}] [0 10 44 35 jack]
set mcp.volume.label.color [128 136 142]
set mcp.volume.label.margin [0 2 0 0 0.5 0]
set mcp.volume + + [0 mcp.volume.label{h}] [0 mcp.volume.label{y}] [12 10 19 320 0 0 0 0]
set mcp.label.font [3]
set mcp.label + + [0 mcp.volume{h}] [0 mcp.volume{y}] [0 80 134 20 0 0 0 0]
;set mcp.label [0 1250 120 31 0 0 0 0]
set mcp.label.margin [0 0 0 0 0.5]
set mcp.label.color [168 168 168 255]
set mcp.trackidx - [0 h] [24 0 20 22 0 0 0 0]
set mcp.trackidx.color [110 110 110 255]
set mcp.trackidx.margin [0 0 0 0 0.5]
;########### Ext Mixer fun
set mcp.extmixer.mode [1]
set mcp.extmixer.position [44 0 90 360 0 0 0 1]
set mcp.fxlist.font [2 16]
set mcp.fxlist.margin [4 0 4 0 0.5]
set mcp.sendlist.font [2 16]
set mcp.sendlist.margin [4 0 4 0 0]
set mcp.fxparm.font [2 28]
set mcp.fxparm.margin [2 0 4 0 0]
EndLayout