Old 03-14-2017, 03:52 AM   #1
Vagalume
Human being with feelings
 
Join Date: Nov 2015
Posts: 604
Default Last MCP track.

Hope I make myself understood in this one, my English is ...

Ok, I use several kontakt instances, Each parent track has 16 child tracks inside for 16 midi channels (16 instruments).

------

So, in the Themes that I use I have a sort of indicator in the last track of every group (IN THE MCP). I guess the idea is to indicate that there are no more tracks in that group.

I would like to know which is the name of the png, or even BETTER the control to modify its position in the MCP tracks using the rtconfig.txt.
Vagalume is offline   Reply With Quote
Old 03-14-2017, 07:03 AM   #2
bobobo
Human being with feelings
 
bobobo's Avatar
 
Join Date: Oct 2014
Posts: 1,356
Default

the icon is
mcp_folder_last.png

i don't know if there is a handle to deal with this in rtconfig.txt

but
there are actions to deal with folderappearance in the mcp
search for 'mixer folder'in the action list

or
right click in the empty space of the mixer
select the appropr. from the popup.
bobobo is offline   Reply With Quote
Old 03-14-2017, 08:44 AM   #3
Vollgerd
Human being with feelings
 
Vollgerd's Avatar
 
Join Date: Sep 2009
Location: Monnem
Posts: 1,133
Default

Hi
look here.
https://stash.reaper.fm/theme/1948/Ge...ReaperThemeZip

Greetings Gerd
Vollgerd is offline   Reply With Quote
Old 03-14-2017, 11:44 AM   #4
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

Quote:
Originally Posted by Vagalume View Post
...or even BETTER the control to modify its position in the MCP tracks using the rtconfig.txt.
Look for "mcp.folder" in the rtconfig. You can modifiy the start folder, the indent part and the last folder.
I'm actually working on my Default Dark mod and am fiddling around with folder indention in the mixer, and the WIP code looks like this:
Code:
set mcp.folder		?folderstate=1 + low_marg [1 351 81 19 0 1 0 1] ?folderstate=-n + low_marg [0 362 18 18 0 1 0 1]  + low_marg [61 352 18 18 0 1 0 1]
The first square bracket is the start folder, the -n part the last. The "?" says: if folder is start folder (1) do this, if last (-n) do that and so on...
Probably not very elegant or smart, but it does what I want, a WIP, but WALTER is still a secret for me.

I recommend to have a look at the WALTER sdk, you can find it here: http://www.reaper.fm/sdk/walter/index.php
Copied from there:
Quote:
folderstate -- folder state of track, if applicable (0 for normal, 1 for folder, -n for last track in folder(s))
HTH...
__________________
If the v5 Default Theme is too bright for you take a gander at my mod of it: Default v5 Dark Theme
Pet is offline   Reply With Quote
Old 03-14-2017, 12:46 PM   #5
Vollgerd
Human being with feelings
 
Vollgerd's Avatar
 
Join Date: Sep 2009
Location: Monnem
Posts: 1,133
Default

Quote:
Originally Posted by Pet View Post
The first square bracket is the start folder, the -n part the last. The "?" says: if folder is start folder (1) do this, if last (-n) do that and so on...
Probably not very elegant or smart, but it does what I want, a WIP, but WALTER is still a secret for me.
Hallo Peter,
das dürfte nicht funktionieren.
Im gesamten Original rtconfig gibt es nicht einmal ein ?folderstate und auch keine ?folderstet-n.

Das Fragezeichen wird nicht benötigt.
folderstate=1 (Erste Folder)
folderstate-1 oder folderstate<0 (letzte Folder)

In englisch:
I think that will not work.
In der original rtconfig.txt there is no ?folderstate or folderstate-n.
The ? before folderstate is not necessary.
folderstate=1 (first Folder)
folderstate-1 oder folderstate<0 (last Folder)

Gruß
Gerd
Vollgerd is offline   Reply With Quote
Old 03-14-2017, 02:35 PM   #6
Vagalume
Human being with feelings
 
Join Date: Nov 2015
Posts: 604
Default

Uff a lot of information, I will try everything tomorrow.

Thanks to all of you, I really appreciate it.

Last edited by Vagalume; 03-14-2017 at 04:34 PM.
Vagalume is offline   Reply With Quote
Old 03-15-2017, 10:08 AM   #7
Vagalume
Human being with feelings
 
Join Date: Nov 2015
Posts: 604
Default

It's worked everything as a charm, ty very much again for your time !!!
Vagalume is offline   Reply With Quote
Old 03-15-2017, 11:04 AM   #8
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

Fine, happy you figured it out!
__________________
If the v5 Default Theme is too bright for you take a gander at my mod of it: Default v5 Dark Theme
Pet is offline   Reply With Quote
Old 04-15-2017, 12:09 PM   #9
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

My WIP exploration continues and I was still thinking about, what that "n" tells us in the documentation we have. Obviously it's a placeholder, but for what?

I found out, that: setting "folderstate=-1" means the first level of the last folder, "-2" the second and so on.

An example: (I made it in the tcp)
  • add 10 tracks and make the top four to "parent-folders". Now go to track 9(!) (it's better visible what I mean with Track 9 chosen) and click the folder icon twice to make it the last folder.
     THIS is folderstate "-1".
  • click the folder icon again and the indention of track 10 goes to the left (one level up).
    THIS is folderstate "-2".
  • and so on...
With this you can select a different layout of all folders that are on e.g. "level 2".
I tried it with this:
Code:
set tcp.trackidx.color folderstate=-1 [255 0 0] folderstate=-2 [0 255 0] folderstate=-3 [0 0 255] folderstate=-4 [255 255 255]
I'm not sure, if I'm an idiot who is telling something totally obvious, but nevertheless I post it, maybe it's of some use for anyone...

Cheers!
__________________
If the v5 Default Theme is too bright for you take a gander at my mod of it: Default v5 Dark Theme
Pet is offline   Reply With Quote
Old 04-16-2017, 05:47 AM   #10
Vollgerd
Human being with feelings
 
Vollgerd's Avatar
 
Join Date: Sep 2009
Location: Monnem
Posts: 1,133
Default

Hallo Peter,

No this does not work.
Please check my post above
only works =-1 for last folder and =1 for first folder.

But you are right

"n" is a placeholder as usual in programming languages.

Greetings
Gerd
Vollgerd is offline   Reply With Quote
Old 04-16-2017, 06:07 AM   #11
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

Gerd, have you tried it with the code I posted above before posting?
For the following gif I used this code:
Code:
Layout "aa - Standard"
set tcp.label  .
set tcp.label.color folderstate=-1 [255 0 0] folderstate=-2 [0 255 0] folderstate=-3 [0 0 255] folderstate=-4 [255 255 255]
EndLayout
(because the trackname is better visible)
It does this:

__________________
If the v5 Default Theme is too bright for you take a gander at my mod of it: Default v5 Dark Theme

Last edited by Pet; 04-16-2017 at 06:27 AM. Reason: gif added
Pet is offline   Reply With Quote
Old 04-16-2017, 09:01 AM   #12
Vollgerd
Human being with feelings
 
Vollgerd's Avatar
 
Join Date: Sep 2009
Location: Monnem
Posts: 1,133
Default

Hallo Peter,
I see, you are right.
I tried with idx. That didn't work. Don't know why.

But with your code, only the last Track change the color. Not the Tracks between. But it is very interesting.

Greetings
Gerd
Vollgerd is offline   Reply With Quote
Old 04-16-2017, 09:51 AM   #13
Vollgerd
Human being with feelings
 
Vollgerd's Avatar
 
Join Date: Sep 2009
Location: Monnem
Posts: 1,133
Default

hallo Peter,
muss nochmal in deutsch nachhaken. Wird mir in englisch zu kompliziert.
Die Änderungen hängen wohl mit der Tiefe der Verschachtelungen zusammen. Um die Farbe zu ändern, muss man mehrere Unterordner erstellen. Durch entsprechendes mehrmaligem Anklicken des letzten Tracks werden dann die Farben geändert.

Die Umsetzungsmöglichkeit, muss mit einer der letzten Updates zusammenhängen. Mehrfaches Anklicken des letzten Tracks hat neuerdings auch Auswirkungen auf das MCP.

In den Tracks macht das aber wenig Sinn. Dort werden Verschachtelungen ja durch "Einrückungen" deutlich gemacht. Und das kann man durch das entsprechende PNG leicht umsetzen. (Bei meinem Theme ist das für jede Verschachtelung ein Punkt.)

In der MCP kann man jetzt auch an Position oder Farbe bestimmter Elemente kenntlich machen um selche Verschachtelung es sich handelt.

Gruß
Gerd
Vollgerd is offline   Reply With Quote
Old 04-16-2017, 10:35 AM   #14
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

Quote:
Originally Posted by Vollgerd View Post
But with your code, only the last Track change the color. Not the Tracks between.
That hits the topic of the thread pretty well, don't you think?

It is "Last MCP track"...
__________________
If the v5 Default Theme is too bright for you take a gander at my mod of it: Default v5 Dark Theme
Pet is offline   Reply With Quote
Old 04-22-2017, 07:24 AM   #15
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

FWIW, just to avoid confusion and to clarifiy: folderstate=-1 and <0 is not the same.
Folderstate<0 affects ALL last folders (cause they have negative values). Just out of curiosity I tried that code from above with a portable REAPER v4.78 and the Default 4.0 Theme and it works the same way.

The "?" thingy is explained in White Tie's "WALTER Themers Guide" on page 21. You can download it here. (From White Tie's Sticky: 3. Making a REAPER theme thread.

I hesitated a while if to post this, but it's not about who's wrong or right, it's about answering a question and helping each other, no know-it-all manner intended.
__________________
If the v5 Default Theme is too bright for you take a gander at my mod of it: Default v5 Dark Theme
Pet 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:11 PM.


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