Old 05-18-2019, 09:02 AM   #1
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 351
Default Show TCP Label only under a certain height

Hello everybody.
I'm trying to optimize my Theme to be able to show as many tracks as possible in the TCP.

WALTER is pretty hard for me to fully grasp and I don't want to break anything. I'm trying to hide everything but the track label on the TCP if the tracks are under a certain height. That way I'll be able to show a lot of tracks as a list.

Can somebody teach me how to do this in WALTER?
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions is online now   Reply With Quote
Old 05-18-2019, 09:32 AM   #2
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 814
Default

First thing, just in case : make a copy of the rtconfig.txt file. This done, I'm afraid that it's going to take you a while, bacause you'll have to add a height test on all the controls involved excepting the tcp.label one. And the value used for the test will depend of the non-Walter tcp_heights directive, which is usually in the header of the rtconfig.txt file, especially its second value which fixes the tcp panel height when the track is minimized, without being hidden.

Let's take an example and suppose that we have this in the rtconfig.txt header :

...
Code:
tcp_heights 4 25 49 49
...

This means that, when the tcp panel is minimized it will have a height of 25 pixels. If you want just the tcp.label control to be visible in this state, you'll have to explicitly make all the other ones disappear. From which, instead of having this for, i.e., the tcp.mute control :

Code:
set tcp.mute w<280 [0] w<489 + [272 0 16 21 1 0 1 0] + [360 0 16 21 0 0 0 0]
The test in bold should be added :

Code:
set tcp.mute h<26 [0] w<280 [0] w<489 + [272 0 16 21 1 0 1 0] + [360 0 16 21 0 0 0 0]
The result will be that, under a height of 26 pixels (= the minimized state at 25), the tcp.mute control will no longer be displayed. This should be done for all the controls existing in the tcp panel that are presently supposed to be visible when the tcp panel is at 25 pixels of height.

HTWH...
__________________
DAW : i7-870|P7P55D-E|16 Gb|2 HDD 1 Tb|W7Pro SP1(64)|RME Fireface UCX + Behringer ADA8200
Soft : Reaper(64)|Cubase 5-6.5(64)|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 05-19-2019, 02:20 AM   #3
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 351
Default

Thanks for this complete answer. I will try it out an report back
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions is online now   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 07:56 AM.


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