Old 11-26-2016, 03:07 PM   #1
vseanv
Human being with feelings
 
vseanv's Avatar
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 166
Default Help with tweaking Reaper Session Mixer

Hi Guys! I'm trying to no avail to add additional fader colours to Reapers Session mixer Layout... I have copied the previous fader code in reaper and changed the colour (trying to simply add a purple fader). I have created new Png's and added a new folder for the purple fader in the "session" folder... I am no Walter expert, but I feel like I have done everything right, but when I updated the theme within reaper.. the new layout does not show up. Xpander even offered me the same solution to my problem but it is still not working.... Can you guys look over my code here to see if I am missing something? Would really appreciate it. Lastly I feel like it's not something simple like the theme linking being broken, because I have added other layouts (like Xpander's VCA WALTER layouts) and they showed up no problem.

Thanks so much for your help! Cheers!


Code:
Layout "da - Session Mixer" "session"

; --------------- User adjustable values. Edit without fear. -----------------

  set no_room            [420] ; height below which it stops making sense and all bets are off...

; ------- End of user adjustable values. From here on may be dragons. ---------


clear mcp.*
front                                    mcp.solo mcp.mute mcp.phase mcp.width
set mcp.size                              [87 501 0 340]      ;[87 501 0 340]
set mcp.fxbyp                            [7 7 24 13 0 0 0 0]
set mcp.fx                               + [0 13] [mcp.fxbyp mcp.fxbyp mcp.fxbyp 20 0 0 0 0]
set mcp.fxin                             [22 149 43 17]
set mcp.io                               [38 7 41 33]
set mcp.env                              [0 45 86 22]
set mcp.pan                              trackpanmode>=4 trackpanmode==6 [4 80 78 16] [10 79 25 25] [31 79 25 25]
  set mcp.pan.fadermode                  gl_fader_swap
  set mcp.pan.color                      gl_pan_color
  set mcp.pan.label                      + [mcp.pan mcp.pan] trackpanmode==6 [24 -13 31 10] [-4 31 31 10]
  set mcp.pan.label.color                trackpanmode<=5 [40 40 40] [84 63 63]
  set mcp.pan.label.margin               [0 0 0 0 0.5]
set mcp.width                            trackpanmode>=4 trackpanmode==6 + mcp.pan [0 14 0 0] [51 79 25 25] [0]
  set mcp.width.fadermode                gl_fader_swap
  set mcp.width.color                    gl_width_color
  set mcp.width.label                    + [mcp.width mcp.width] trackpanmode>=4 trackpanmode==6 [24 18 31 10] [-4 31 31 10] [0]
  set mcp.width.label.color              trackpanmode=5 [40 40 40] [63 84 63]
  set mcp.width.label.margin             [0 0 0 0 0.5]
set mcp.recinput                         [0 127 86 17]
  set mcp.recinput.color                 ?recarm [255 255 255] [220 220 220] 
  set mcp.recinput.margin                [5 0 20 0 0]
set mcp.recarm                           [52 196 30 27]
set mcp.recmon                           [4 171 78 24]
set mcp.recmode                          [4 193 53 17]  
set mcp.label                            h<no_room{x} [0 218 86 18] [0 218 86 32] ;[0 218 86 18] [0 218 86 32]
  set mcp.label.margin                   [2 0 3 0 0.5 0]   ;[2 0 3 0 0.5 0]
  set mcp.label.color                    ?recarm [255 255 255] [220 220 220]
set mcp.mute                             + + [0 mcp.label{y}] [0 mcp.label{h}] [10 3 26 26]
set mcp.solo                             + + [0 mcp.label{y}] [0 mcp.label{h}] [10 37 26 26]
set mcp.phase                            + + [0 mcp.label{y}] [0 mcp.label{h}] [53 2 16 18]
set mcp.volume                           h<no_room{x} + + [0 mcp.label{y}] [0 mcp.label{h}] [49 37 25 25] [49 284 25 188 0 0 0 1]
  set mcp.volume.label                   + + [0 mcp.label{y}] [0 mcp.label{h}] [40 22 43 10]
  set mcp.volume.label.color             mcp.volume.label{h}>2 [100 100 100] [38 38 38]
  set mcp.volume.label.margin            [0 0 0 0 0.5]
set mcp.meter                            h<no_room{x} + + [0 mcp.label{y}] [0 mcp.label{h}] [4 71 78 172 0 0 0 1] [10 321 26 151 0 0 0 1]
  set mcp.meter.vu.div                   [1 1]
  set mcp.meter.readout.color            [100 100 100 255 255 183 171 255]
  set mcp.meter.scale.color.lit.bottom   [255 255 255 255 0 168 99 255]
  set mcp.meter.scale.color.lit.top      [255 255 255 255 0 168 99 255]
  set mcp.meter.scale.color.unlit.bottom [100 100 100 255 38 38 38 255]
  set mcp.meter.scale.color.unlit.top    [100 100 100 255 38 38 38 255]
set mcp.extmixer.mode                    [0]
  set mcp.fxlist.font                    [2 16]
  set mcp.fxlist.margin                  [4 0 4 0 0.5]
  set mcp.sendlist.font                  [2 16] 
  set mcp.sendlist.margin                [4 0 4 0 0]
  set mcp.fxparm.font                    [2 28]
  set mcp.fxparm.margin                  [2 0 4 0 0]  
set mcp.trackidx                         [33 483 20 18 0 1 0 1]
  colorsmart                             mcp.trackidx.color 230 230 230 0
set mcp.folder                           folderstate<0 [79 483 7 18 0 1 0 1] [0 483 18 18 0 1 0 1] 

Layout "db --- Session Mixer Black Fader" "session/black"
set mcp.volume .
  set mcp.volume.color                   [255 255 255]
EndLayout

Layout "dc --- Session Mixer Red Fader" "session/red"
set mcp.volume .
EndLayout

Layout "dd --- Session Mixer Blue Fader" "session/blue"
set mcp.volume .
EndLayout

Layout “de ---- Session Mixer Purple Fader" "session/purple”
set mcp.volume .
EndLayout

EndLayout
vseanv is offline   Reply With Quote
Old 11-26-2016, 03:44 PM   #2
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Looks fine to me. My first guess is that you're doing something wrong trying to load the modified theme.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 11-26-2016, 09:01 PM   #3
vseanv
Human being with feelings
 
vseanv's Avatar
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 166
Default

Thanks so much for replying Lokasenna.. hmm any suggestions on what might be some probable causes of loading the modded theme? Any places I could look for answers?
vseanv is offline   Reply With Quote
Old 11-26-2016, 09:23 PM   #4
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Hard to say. Feel like zipping it up and posting a link? I'll have a look.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 11-26-2016, 09:44 PM   #5
vseanv
Human being with feelings
 
vseanv's Avatar
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 166
Default

Sure thing, here is the link:

https://stash.reaper.fm/28985/Seans%2...ReaperThemeZip

Thanks so much for your help with this!
vseanv is offline   Reply With Quote
Old 11-26-2016, 09:51 PM   #6
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Oh, I see it. I don't know what you did, but have a look at the first and last quotation marks here:

Code:
Layout “de ---- Session Mixer Purple Fader" "session/purple”
Those ain't right.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 11-26-2016, 10:44 PM   #7
vseanv
Human being with feelings
 
vseanv's Avatar
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 166
Default

That did it! looks like I was the victim of some auto correct going on.... guess I should stop using a standard text editor.... Thanks so much for your help!
vseanv is offline   Reply With Quote
Old 11-27-2016, 07:06 AM   #8
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

@vseanv:
Quote:
.... guess I should stop using a standard text editor....
I recommend notepad++ for this, and there is a UserDefinedLanguage (UDL) by X-Raym for the rtconfig-coloring in the stash. (Search for UDL).

This can be imported into NP++ and colors the text according to its meaning (e.g. "set mcp*" has a different color than "set tcp*"). It's ready-to-run, give it a try!

Just to tell...
Peter
__________________
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 11-27-2016, 11:09 AM   #9
vseanv
Human being with feelings
 
vseanv's Avatar
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 166
Default

Thanks so much Peter! Will check it out!
vseanv is offline   Reply With Quote
Old 11-27-2016, 10:05 PM   #10
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Yeah, the day I discovered Notepad++ was a revelation. Being able to split the view so you can compare two documents, or look at two parts of the same file at once... so much win.

Plus, for programming, being able to collapse your if/then structures and for loops is a godsend.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 11-28-2016, 03:28 AM   #11
vseanv
Human being with feelings
 
vseanv's Avatar
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 166
Default

Amazing! I'm not a huge coder, but I'm slowing digging into it with this new foray into walter. Thank you for the suggestions guys!
vseanv is offline   Reply With Quote
Old 11-28-2016, 04:44 AM   #12
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

@vseanv: There are also cool plugins available, like "compare" to see the changes between two document versions side by side, or the "combine" plugin (e.g. open multiple documents that are numbered from 1 to * - combine them to one document).
There's a 64bit version available now, but if you decide to use NP++, select the 32bit version, the plugins are not available yet for 64bit.

@Lokasenna:
Do you know, if the collapse thingy can be used in normal text files like the ReaMenus starting with a squared bracket, but ending at an empty line or at the last line of the text block?? I made a UDL for ReaMenus and had some success with ((EOL)) but not with \r\n. I tear my hair of...

Peter
__________________
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; 11-28-2016 at 05:01 AM.
Pet is offline   Reply With Quote
Old 11-28-2016, 05:45 AM   #13
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

I haven't fiddled too much with it; no idea.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 11-28-2016, 06:35 AM   #14
Pet
Human being with feelings
 
Pet's Avatar
 
Join Date: Nov 2015
Location: Germany
Posts: 1,015
Default

@Lokasenna: Thanks nevertheless.
__________________
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 12-05-2019, 10:42 AM   #15
MEMFIS_AKA
Banned
 
Join Date: Jul 2017
Posts: 192
Default

How to change pan knobs zero line?
MEMFIS_AKA 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 08:59 AM.


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