|
|
|
10-31-2021, 02:20 PM
|
#1
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Quick Walter code assitance?
Hey there, trying to wrap my head around how to edit the code below to do the following:
- Hide meter divisions and readout on Narrow tracks only.
- Bring back the volume label on the Narrow tracks.
Any ideas?
Best//M
Code:
set mcp.meter ?narrowMode{0} + * scale [4 4 20 -31] [stretch_sec stretch_sec nchan_offs{0} stretch_sec] \
+ [stretch_sec stretch_sec nchan_offs{0} stretch_sec] * scale h<hide_volume_label_s{0} [4 4 20 -4] !labelsMode{0} [4 4 20 -4] [4 23 20 -23]
set mcp.meter.vu.div [1 1]
set mcp.meter.readout.color !labelsMode{0} [0 0 0 0 0 0 0 0] [100 100 100 255 255 183 171 255]
set mcp.meter.scale.color.lit.bottom !labelsMode{0} [0 0 0 0 0 0 0 0] [0 0 0 170 0 0 0 0]
set mcp.meter.scale.color.lit.top !labelsMode{0} [0 0 0 0 0 0 0 0] [0 0 0 170 0 0 0 0]
set mcp.meter.scale.color.unlit.bottom !labelsMode{0} [0 0 0 0 0 0 0 0] ?recarm [255 64 0 255 0 0 0 0] [255 255 255 60 0 0 0 0]
set mcp.meter.scale.color.unlit.top !labelsMode{0} [0 0 0 0 0 0 0 0] ?recarm [255 64 0 255 0 0 0 0] [255 255 255 60 0 0 0 0]
set mcp.volume.label ?narrowMode{0} [0] \
+ [stretch_sec stretch_sec mcp.meter{2}] * scale h<hide_volume_label_s{0} [1 0 28 4] !labelsMode{0} [1 0 28 4] [1 0 28 23]
; + h<hide_volume_label_s{0} [1 0 28 4] !labelsMode{0} [1 0 28 4] [1 0 28 23] [stretch_sec stretch_sec mcp.meter{2}]
set mcp.volume ?narrowMode{0} + - + [stretch_sec stretch_sec] [nchan_offs_half stretch_sec{3}] * scale [-4 21] * scale [0 0 21 21] \
- + * [1 1 scale 1] [mcp.meter stretch_sec 21 stretch_sec] [mcp.meter{2} mcp.volume.label{3}] [-4 0 0 mcp.volume.label{3}]
set mcp.volume.label.color mcp.volume.label{h}>2 [180 180 180] [38 38 38]
set mcp.volume.label.font scale==1 [1] scale==1.5 [6] [11]
set mcp.volume.label.margin * [scale scale scale scale 1] ?narrowMode{0} [0 80 0 0 0.5] [0 4 0 0 0.5]
set mcp.recarm + * scale [0 0 36 24] ?narrowMode{0} - + [mcp.meter{2}] [stretch_sec stretch_sec] * scale [-1 17] \
+ - [stretch_sec stretch_sec] * scale [-29 17] [mcp.meter{2}]
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
|
|
|
11-01-2021, 10:43 PM
|
#2
|
Human being with feelings
Join Date: Jun 2017
Posts: 226
|
Hope you get a reply. This is something I want to know, also.
|
|
|
11-02-2021, 02:33 AM
|
#3
|
Pixel Pusher
Join Date: Mar 2007
Location: Blighty
Posts: 4,984
|
This looks like you're trying to modify the default 6 walter, which is never going to be a quick question.
The theme sets the appearance of the meter scale numbers and readout according to its 'labelsMode' variable. The value of that variable is set by the theme adjuster script.
You've commented out the volume label line. Beware, this is exactly the kind of thing that trips up new users fiddling with existing themes , because it is NOT the same thing as:
Code:
set mcp.volume.label [0]
...which how you hide an element.
Anyway, this is what you want:
Code:
set mcp.volume.label + [stretch_sec stretch_sec mcp.meter{2}] * scale h<hide_volume_label_s{0} [1 0 28 4] !labelsMode{0} [1 0 28 4] [1 0 28 23]
; + h<hide_volume_label_s{0} [1 0 28 4] !labelsMode{0} [1 0 28 4] [1 0 28 23] [stretch_sec stretch_sec mcp.meter{2}]
...as you'll see, it doesn't fit, which I'm sure isn't what you want. Do you perhaps just want a smaller theme? Try one of the small layouts of default 4, or default 5, or one of the very many reskins of them.
|
|
|
11-02-2021, 02:32 PM
|
#4
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Quote:
Originally Posted by White Tie
This looks like you're trying to modify the default 6 walter, which is never going to be a quick question.
The theme sets the appearance of the meter scale numbers and readout according to its 'labelsMode' variable. The value of that variable is set by the theme adjuster script.
You've commented out the volume label line. Beware, this is exactly the kind of thing that trips up new users fiddling with existing themes , because it is NOT the same thing as:
Code:
set mcp.volume.label [0]
...which how you hide an element.
Anyway, this is what you want:
Code:
set mcp.volume.label + [stretch_sec stretch_sec mcp.meter{2}] * scale h<hide_volume_label_s{0} [1 0 28 4] !labelsMode{0} [1 0 28 4] [1 0 28 23]
; + h<hide_volume_label_s{0} [1 0 28 4] !labelsMode{0} [1 0 28 4] [1 0 28 23] [stretch_sec stretch_sec mcp.meter{2}]
...as you'll see, it doesn't fit, which I'm sure isn't what you want. Do you perhaps just want a smaller theme? Try one of the small layouts of default 4, or default 5, or one of the very many reskins of them.
|
Thanks WT! And yes that is your code I am fiddling with.
I had a v5 layout-style theme before, but now I will need the automatic scaling etc, the modern jazz.
Anyway, the code does indeed show the volume label now. It doesnt fit right now for sure, but that is why I need to get rid of the meter scales/readout number, and probably also the record monitor button. Then it should fit nicely above the fader I hope!
Can one get rid of the meter readout for narrow tracks?
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
Last edited by mlprod; 11-02-2021 at 02:47 PM.
|
|
|
11-02-2021, 04:32 PM
|
#5
|
Human being with feelings
Join Date: Jan 2020
Location: quebec CA
Posts: 1,576
|
if you get what you want can you please put a picture here please
im interesting to see the result...
__________________
[cpu=i7-6700,12gig ram]DAW=Reaper-[roland-quad-capture]-[krk rokit-5 G3]-[TR5-eq 81]-
[amplitube-max]
YouTube: ricky & marty
|
|
|
11-03-2021, 01:06 PM
|
#6
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Sure thing, let's see if I can get it sorted with some help hopefully.
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
|
|
|
11-04-2021, 08:09 PM
|
#7
|
Human being with feelings
Join Date: Sep 2019
Location: Austria
Posts: 461
|
Quote:
Originally Posted by mlprod
Sure thing, let's see if I can get it sorted with some help hopefully.
|
Looks like I got it.
Is this the behaviour you expect?
There are a view statements changed, so easiest is to use the rtconfig file.
Hope it helps
|
|
|
11-04-2021, 08:22 PM
|
#8
|
Human being with feelings
Join Date: Sep 2019
Location: Austria
Posts: 461
|
|
|
|
11-04-2021, 08:38 PM
|
#9
|
Human being with feelings
Join Date: Sep 2019
Location: Austria
Posts: 461
|
Ahh, you want to hide the readout too.
Here it is...
|
|
|
11-05-2021, 01:02 AM
|
#10
|
Human being with feelings
Join Date: Jan 2020
Location: quebec CA
Posts: 1,576
|
Quote:
Originally Posted by OLSHALOM
Ahh, you want to hide the readout too.
Here it is...
|
can you please post just the narow image (the meter)
i want to use it on my theme
__________________
[cpu=i7-6700,12gig ram]DAW=Reaper-[roland-quad-capture]-[krk rokit-5 G3]-[TR5-eq 81]-
[amplitube-max]
YouTube: ricky & marty
|
|
|
11-05-2021, 02:35 AM
|
#11
|
Human being with feelings
Join Date: Sep 2019
Location: Austria
Posts: 461
|
Quote:
Originally Posted by martmix
can you please post just the narow image (the meter)
i want to use it on my theme
|
Only the Code changed. Images stayed the same.
The background in the default6-mcp is a "mosaic" containing different black backgrounds of mcp.meter, mcp.volume.label, etc.
This is a essential part of the concept for the whole theme and its ThemeAdjuster. Especially for the different borders.
It means the new code works only for a modded def6, at least the backgroundconcept is the same.
The code from the first post is exactly from the mentioned theme.
|
|
|
11-05-2021, 02:39 AM
|
#12
|
Human being with feelings
Join Date: Jan 2020
Location: quebec CA
Posts: 1,576
|
Quote:
Originally Posted by OLSHALOM
Only the Code changed. Images stayed the same.
The background in the default6-mcp is a "mosaic" containing different black backgrounds of mcp.meter, mcp.volume.label, etc.
This is a essential part of the concept for the whole theme and its ThemeAdjuster. Especially for the different borders.
It means the new code works only for a modded def6, at least the backgroundconcept is the same.
The code from the first post is exactly from the mentioned theme.
|
ahh ok 😢 thank you still
__________________
[cpu=i7-6700,12gig ram]DAW=Reaper-[roland-quad-capture]-[krk rokit-5 G3]-[TR5-eq 81]-
[amplitube-max]
YouTube: ricky & marty
|
|
|
11-05-2021, 03:05 PM
|
#13
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Quote:
Originally Posted by OLSHALOM
Only the Code changed. Images stayed the same.
The background in the default6-mcp is a "mosaic" containing different black backgrounds of mcp.meter, mcp.volume.label, etc.
This is a essential part of the concept for the whole theme and its ThemeAdjuster. Especially for the different borders.
It means the new code works only for a modded def6, at least the backgroundconcept is the same.
The code from the first post is exactly from the mentioned theme.
|
Thanks a lot for the help!
I actually fiddled around a little here and found a way to fit the volume label without getting rid of the readout. I made the meter less tall and moved it down to the original base position.
What I am trying to do now is actually move down the whole recmon/mute/solo section on Narrow tracks only.
Original code:
set mcp.recmon + + [0 padding] [mcp.recarmmcp.recarm] * scale [8 20 21 20]
Trying out code...
set mcp.recmon ?narrowMode{0} + + [0 padding] [mcp.recarm mcp.recarm] * scale [8 40 21 20] \ + + [0 padding] [mcp.recarmmcp.recarm] * scale [8 20 21 20]
...does work for the narrow tracks but completely messes on the normal tracks. I just dont get the syntax just yet. I basically just want the normal tracks to stay as is in the normal code. [8 20 21 20]
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
|
|
|
11-05-2021, 04:03 PM
|
#14
|
Human being with feelings
Join Date: Sep 2019
Location: Austria
Posts: 461
|
Quote:
Originally Posted by mlprod
Thanks a lot for the help!
I actually fiddled around a little here and found a way to fit the volume label without getting rid of the readout. I made the meter less tall and moved it down to the original base position.
What I am trying to do now is actually move down the whole recmon/mute/solo section on Narrow tracks only.
Original code:
set mcp.recmon + + [0 padding] [mcp.recarmmcp.recarm] * scale [8 20 21 20]
Trying out code...
set mcp.recmon ?narrowMode{0} + + [0 padding] [mcp.recarm mcp.recarm] * scale [8 40 21 20] \ + + [0 padding] [mcp.recarmmcp.recarm] * scale [8 20 21 20]
...does work for the narrow tracks but completely messes on the normal tracks. I just dont get the syntax just yet. I basically just want the normal tracks to stay as is in the normal code. [8 20 21 20]
|
Delete the slash after the first statement.
add a space between mcp.recarm and mcp.recarm ([mcp.recarmmcp.recarm]).
Does the job overhere.
|
|
|
11-06-2021, 02:05 PM
|
#15
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Awesome, works! Thanks!
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
|
|
|
11-09-2021, 06:58 AM
|
#16
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Sorry to bother you walter experts but I have one more request of coding help here.
So this is about the width control in the MCP. The code below is behaving like I want with two exceptions:
- The width control is visible on top in the pan control in the default pan mode (on Narrow tracks only), which it obviously shouldn't be.
- The width label is NOT visible in 1080p scaling (on Narrow tracks only), which is want it to be. It works as it should on retina displays.
Code below, thanks!
set mcp.width ?narrowMode{0} \
h<hide_pan_s{0} [0] + [pan_sec pan_sec] trackpanmode==6 + [0 0 nchan_offs{0}] * scale !panLabelsMode{0} [3 14 48 9] [3 23 48 9] \
trackpanmode>=4 + [nchan_offs_third{0}] * scale !panLabelsMode{0} [28 4 20 20] [26 47 20 20] \
+ [nchan_offs_half{0}] * scale !panLabelsMode{0} [18 4 20 20] [18 7 20 20] \
h<hide_pan_s{0} [0] + [pan_sec pan_sec] trackpanmode==6 + [0 0 nchan_offs{0}] * scale !panLabelsMode{0} [7 14 73 9] [7 23 73 9] \
trackpanmode>=4 + [nchan_offs_third{0}] + [nchan_offs_third{0}] * scale !panLabelsMode{0} [48 4 20 20] [48 7 20 20] [0]
set mcp.width.fadermode gl_fader_swap
set mcp.width.color gl_width_color
set mcp.width.label ?narrowMode{0} \
!panLabelsMode{0} [0] + [0 mcp.width] trackpanmode>=4 trackpanmode==6 + [mcp.pan.label] * scale [0 11 35 9] h<hide_inputFX_s{0} [0] [44 49 55 19] [0] \
!panLabelsMode{0} [0] + [0 mcp.width] trackpanmode>=4 trackpanmode==6 + [mcp.pan.label] * scale [0 11 40 9] + [nchan_offs_third{0}] + * scale [-5 25 35 10] [mcp.width] [0]
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
|
|
|
11-17-2021, 06:19 AM
|
#17
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Anyone can get me a little hand here?
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
|
|
|
12-01-2021, 02:22 PM
|
#18
|
Human being with feelings
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
|
Quick walter code help request regarding scaling and label for the width knob, I will donate as a thank you if you have a paypal account=)
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 01:52 AM.
|