Old 08-12-2012, 11:15 AM   #1
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default Question for the gurus plz

I have a theme I mashed up at the very beginning of the V4 series of reaper... I still like it but I know most would not.

I see in the newer default and mods of it, that when a tcp trak is set to record the meter changes color from the 'normal' blue or green to red...

Can anyone give me the details about doing this so that I can add it to my own old theme?

I'm asking for the needed png's names [I can alter png's fine] and whatever Walter lines are needed.

thanks much
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 08-12-2012, 12:35 PM   #2
Janne83
Human being with feelings
 
Join Date: May 2010
Location: Earth
Posts: 1,883
Default

Quote:
Originally Posted by hopi View Post
I have a theme I mashed up at the very beginning of the V4 series of reaper... I still like it but I know most would not.

I see in the newer default and mods of it, that when a tcp trak is set to record the meter changes color from the 'normal' blue or green to red...

Can anyone give me the details about doing this so that I can add it to my own old theme?

I'm asking for the needed png's names [I can alter png's fine] and whatever Walter lines are needed.

thanks much
This is the initial info on new metering system.(from the WaLTER SDK) I suggest you open the default or my Universe 3 theme to see how the images look like. Basically you have background image, meter images(track, master,RMS), clip area images and an overlay if you want it. The code adds the coloring for default peak and meter scale readouts and the gap width between the left and right channel.

Meters are now composited as follows (most things are optional, new stuff disables old images):


1) meter_bg_mcp meter_bg_tcp meter_bg_mcp_master
These can have pink lines to control stretching, yellow lines to allow extents outside of the actual meter.
If they have alpha channel it is blended (inside the meter) against the VU background color (interlacing color) from the theme; outside the meter it blends with the tcp/mcp background etc.

2) meter_bg_v meter_bg_h
These can have pink lines to control stretching, and alpha channel

3) meter_strip_v meter_strip_h meter_strip_v_rms
No pink/yellow line support.
Can have alpha, but CAUTION in this, especially relating to differences l/r on meter_strip_v, etc, as the scaling
may make the alpha useless. Using a constant alpha value might be a nice way to go.

These are each 8 slices (left to right for meter_strip_v, top to bottom for meter_strip_h):
1) unlit
2) lit
3) unlit (clipped channel)
4) lit (clipped channel)
5) unlit (record armed)
6) lit (record armed)
7) unlit (clipped channel) (record armed)
8) lit (clipped channel) (record armed)

4) meter_clip_h meter_clip_v
Can have pink lines, alpha. Scaled across the entire clip area.

Two slices (left to right for meter_clip_h, top to bottom for meter_clip_v -- note that this is opposite of the strips)
1) unlit
2) lit

4a) meter_clip_v_rms meter_clip_v_rms2
Similar to #4, except RMS clip (and RMS-good area for meter_clip_v_rms2). Pink lines and alpha OK.

5) meter_ol_v meter_ol_h
Can have pink lines to control stretching, and alpha channel (Which you would always want to use!). Drawn over
the same rect as meter_bg_h/v

6) meter_ol_mcp meter_ol_tcp meter_ol_mcp_master
Pink lines supported, must use alpha. Same rect as meter_bg_mcp/etc (outside of meter area, over most controls).
If you want a nice shine that extends out, you'd use this.

7) meter_mute meter_automute meter_unsolo meter_solodim meter_foldermute
Drawn, if present, instead of the text that labels these things at the top/right of the meter. Scaled to fit (and
preserve aspect, at least somewhat stupidly), but can support pinkline etc too, though I think the aspect ratio
calculation might get confused by the pinkness. Probably want to use alpha channelage too.

Other notes:

If meter_strip_v is set, then the old mcp_vu image is ignored, etc
mcp_master images often fallback to the mcp version if necessary

Layouts can use image subdirectories for meters, too.

WALTER:
set tcp.meter.vu.div [2]
; to set division between channels (it may be reduced if necessary to fit the channels,
; but only as a last resort
second field describes spacing logic:
= 0 for new default, put all space in middle if possible
= 1 for center, increasing middle by 1px max
= -1 for all even division/sizes
= -2 for uneven sized elements


master.mcp.meter.vu.rmsdiv --
first value = division between RMS and normal channels
second value = adjust RMS area size in rms+peak mode
master.mcp.meter.rmsreadout.color (color of rms readout on master)
*.meter.readout.color (two color pairs with alpha, for normal and clipped states)
*.meter.scale.color.unlit.top -- two colors (fg and shadow)
*.meter.scale.color.unlit.bottom -- two colors (fg and shadow)
*.meter.scale.color.lit.top -- two colors (fg and shadow)
*.meter.scale.color.lit.bottom -- two colors (fg and shadow)

*.meter.inputlabel.color -- one color (text label for recarmed input)
*.meter.inputlabelbox.color -- two colors (bg and fg) of recarmed input box (with alpha)
__________________
Win11, R 64bit
Janne83 is offline   Reply With Quote
Old 08-12-2012, 06:55 PM   #3
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

many thanks Janne83 I'll dig in and see if I can make that work here. You are very kind.
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi 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:42 PM.


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