Old 09-23-2022, 03:54 PM   #1
mister happy
Human being with feelings
 
Join Date: Mar 2017
Location: in the moment
Posts: 631
Default How can I modify the tcp FX List?

Hello Everyone,
Back in spring 2021 I learned we could add a FX List to the TCP portion of our existing themes by adding some WALTER code to the rtconfig.tx.

I used the example code shared here at the forum and made some very minor adjustments to fit my tcp layout.

I used the code shown below

; begin FX list

;**FTC MOD: FX-list on the right side**

; Length of FX-list section (default: 100)
set fxparm_len 100

; Maximum number of columns when not enough space (default: 2)
set fxparm_num_columns 2

; FX height
set fx_height 16

; Right margin (default: 7)
;;;set fxparm_margin_r 7

; Top margin (default: 7)
;;;set fxparm_margin_t 4

;;;set fxparm_x - tcp.size{0} fxparm_len{0}

set fxparm_y h>25 fxparm_margin_t
set fxparm_w - fxparm_len{0} fxparm_margin_r{0}
set fxparm_h - h * 2 fxparm_y{0}

; set tcp.fxparm [fxparm_x{0} fxparm_y{0} fxparm_w{0} fxparm_h{0} 1 0 1 0]
set tcp.fxparm [274 4 100 76]

set fxparm_min_w - / fxparm_w{0} fxparm_num_columns fxparm_margin_r

set tcp.fxparm.font [01 fx_height{0} fxparm_min_w{0} fxparm_w{0} -1]

set tcp.fxparm.margin [3 0 3 0 0 0 0.5]

;;;set fxembed_len - fxparm_x{0} 16

;;;set tcp.fxembed [8 80 fxembed_len{0} 0 0 0 1 1]

;** END of mod**

; end FX list



Last edited by mister happy; 02-14-2023 at 02:11 PM.
mister happy is online now   Reply With Quote
Old 09-23-2022, 04:04 PM   #2
mister happy
Human being with feelings
 
Join Date: Mar 2017
Location: in the moment
Posts: 631
Default

I have been using the tcp. FX List as shown above for the past year and a half, but I have not been fond of the way the FX List panels squeeze into two columns when I have 4 or more FX in the stack.
Last night I revised the rtconfig code and made some changes.

I used the code shown below.

; begin FX list

;**FTC MOD: FX-list on the right side**

; Verical length of FX-list section (default: 100)
; the default 100 creates 4 slots in the McCue Theme. I extended it to 160 to add more slots before a 2nd column occurs
set fxparm_len 160

; Maximum number of columns when not enough space (default: 2)
;setting columns to 1 keeps another column from squeezing the first one
set fxparm_num_columns 1

; FX height
set fx_height 16

; Right margin (default: 7)
;;;set fxparm_margin_r 7

; Top margin (default: 7)
;;;set fxparm_margin_t 4

;;;set fxparm_x - tcp.size{0} fxparm_len{0}

set fxparm_y h>25 fxparm_margin_t
set fxparm_w - fxparm_len{0} fxparm_margin_r{0}
set fxparm_h - h * 2 fxparm_y{0}

; set tcp.fxparm [fxparm_x{0} fxparm_y{0} fxparm_w{0} fxparm_h{0} 1 0 1 0]
; change [274 4 100 76] to [274 4 100 160] when extending length of FX list to 160
set tcp.fxparm [274 4 100 160]

set fxparm_min_w - / fxparm_w{0} fxparm_num_columns fxparm_margin_r

set tcp.fxparm.font [01 fx_height{0} fxparm_min_w{0} fxparm_w{0} -1]

set tcp.fxparm.margin [3 0 3 0 0 0 0.5]

;;;set fxembed_len - fxparm_x{0} 16

;;;set tcp.fxembed [8 80 fxembed_len{0} 0 0 0 1 1]

;** END of mod**

; end FX list


I am glad that there is an option to prevent the column squeeze, and I like how the additional FX list panels are continued, but on the tracks where I am only using 3 or less FX the panels appear to overrun the tcp. panel and it looks a little sloppy.


Last edited by mister happy; 02-14-2023 at 02:11 PM.
mister happy is online now   Reply With Quote
Old 09-23-2022, 04:17 PM   #3
mister happy
Human being with feelings
 
Join Date: Mar 2017
Location: in the moment
Posts: 631
Default

Having explained what I could, I am writing to ask if you may suggest any code edits or editions that would let me end up with the type of functionality illustrated in the attached mock-up-screen-shot.

I would like to have a default of 4 FX list panels shown when my tcp is 76 pixels tall. I rarely use more than 3 FX in a stack, so I would like the default to appear as if it is nominally normal. If there are less than 4 FX in the stack I would like to only show the 4 panels. If there are more than 4 FX in the stack I would like the list to expand to accommodate the need. I don't need or care if the tcp. expands when the extra FX are added, I can stretch the tcp. when it is useful.

I am wondering if there is some way to make the fxparm_length to be conditional. I am also wondering if I could create an illusion by controlling the opacity of the empty FX List panels.

Do you think I can make this happen? can you help with suggestions? I am not very experienced with coding, so I would really appreciate any help you can share.

Thank you!



Last edited by mister happy; 02-14-2023 at 02:11 PM.
mister happy is online now   Reply With Quote
Old 09-26-2022, 04:24 AM   #4
mikostep
Human being with feelings
 
mikostep's Avatar
 
Join Date: Nov 2019
Posts: 92
Default

Sorry to be off topic, but what theme is this?
mikostep is offline   Reply With Quote
Old 09-26-2022, 08:08 AM   #5
mister happy
Human being with feelings
 
Join Date: Mar 2017
Location: in the moment
Posts: 631
Default

Hi,
It is a homemade theme I made for myself. I have not shared it on the stash because it is made for exclusive use with the arranger view. It is very much a crippled theme as the config has been stripped bare so that my feeble code acuity could make sense of what was left to edit.

I don't think I have ever looked to see what mess I left in the mixer view.

Adding the FX List to the .tcp when the option was introduced was a huge upgrade for my personal, admittedly unorthodox workflow.

I am satisfied with the way it works now, but if I could learn to tweak WALTER to make the updates I asked about I would love to move forward with it.

Thank you.
mister happy is online now   Reply With Quote
Old 09-29-2022, 11:50 PM   #6
Lestat66
Human being with feelings
 
Lestat66's Avatar
 
Join Date: Mar 2008
Posts: 229
Default

Quote:
Originally Posted by mikostep View Post
Sorry to be off topic, but what theme is this?
I SECOND THAT
Lestat66 is offline   Reply With Quote
Old 10-02-2022, 02:43 PM   #7
mister happy
Human being with feelings
 
Join Date: Mar 2017
Location: in the moment
Posts: 631
Default

I made some progress today.

I figured out that 8th entry in this line of WALTER enacts a functionality whereby the fx list text panels are displayed as whole units when the height of the tcp is stretched or collapsed.

; set tcp.fxparm [fxparm_x{0} fxparm_y{0} fxparm_w{0} fxparm_h{0} 1 0 1 0]
; the 8th entry 1 calls the auto display of extra FX text panels when the tcp height is stretched.
set tcp.fxparm [274 4 100 68 0 0 0 1]


I also found the List Scrollbar (track panel) tweaks in the Theme\Development Tweaker and changed their color attributes to match the theme.

I List Scrollbar width to 5 here:

; the 8th entry sets the width of the scrollbar before the mosueover
set tcp.fxparm.font [01 fx_height{0} fxparm_min_w{0} fxparm_w{0} -1 0 0 5]




I would really like to figure out if I can set the width of List Scrollbar Mouseover (track panel).

You can see in the screen shot that the width during the mouseover is several times wider than the normal state.


Does anyone know how to do this?


Thank you.



Last edited by mister happy; 02-14-2023 at 02:11 PM.
mister happy is online now   Reply With Quote
Old 10-04-2022, 10:41 AM   #8
FearinLoathin
Human being with feelings
 
Join Date: May 2020
Location: Huntsville, AL
Posts: 103
Default

Apologies in advance... I'm not much help, but I do want to say I appreciate you sharing the code and I hope someone who is more experienced with theming presents a solution soon! I'm sure there's a way. If I stumble upon something or a lightbulb pops on while I'm incorporating this into my theme, I'll let you know.
FearinLoathin 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 01:38 PM.


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