How to skin the level meter?

Official support for: mutools.com
RELATED
PRODUCTS

Post

Hi,
I have reorganised the folder structure for importing my 7 skins for mulab all is working in v3.11.
But in the changelog it's specified ability to skin the level meter.
How i can do this i am not very confident with xml stuff:p

Post

Simon,

You do need XML knowledge to create/edit a skin. That's part of the skinning game. Please google around for info on learning XML. XML is not that difficult.

Once you know your way around in a XML file, then have a look at the FullRack.Xml and SmallRack.Xml.

Find the 'AMixStripEditor' element -> 'Meter' child-element. When it is like this:

Code: Select all

<Meter>
  <Rectangle>44,1,10,146</Rectangle>
  <Loox>
    <Type>Transparant</Type>
  </Loox>
  <ShowLevelLines>1</ShowLevelLines>
</Meter>
then the level meter will simply show the picture background.

Please check LooxPhat in 3.1 as a reference. (the 'ShowLevelLines' element is not there as MU.LAB defaults that to 1 so no need to explicitly state it)

Post

Thank you Jo for you're answer.
So i did what you have suggested and i see a difference with the level meter but i want change the green colour of the level meter.?
This trick is also for changing the level colour if i add a string?

Post

In 3.1.1 it's not yet supported.

But in 3.1.2 is it. Then this is what you can do with the level meter:

Code: Select all

<Meter> 
  <Rectangle>44,1,10,146</Rectangle> 
  <Loox> 
    <Type>Transparant</Type> 
  </Loox> 
  <ClipLedColor>R,G,B</ClipLedColor>
  <LowLevelColor>R,G,B</LowLevelColor>
  <MediumLevelColor>R,G,B</MediumLevelColor>
  <HighLevelColor>R,G,B</HighLevelColor>
  <RefLevelColor>R,G,B</RefLevelColor>
  <ShowRefLevels>1</ShowRefLevels> 
</Meter>
where R,G,B are the actual RGB values of course.

Note that 'ShowLevelLines' has been renamed to 'ShowRefLevels'.

As a reference, see LooxPhat -> FullRack.Xml in the next 3.1.2 package.
Last edited by MuTools on Thu May 13, 2010 11:44 am, edited 1 time in total.

Post

Waouw Thank you :love: for this feature mutools.
Now just the strip bar & M3 'll be 100% skinnable!
I am impatient to grab the v3.12!

Post

Hi,
I have try the new skinning feature for the level meter with mulab test version 3.1.3.
I can drop totally the green part whatever i set any color on any part (midlle hig or pick)
ex with this code:

<Meter>
<Rectangle>44,1,9,146</Rectangle>
<Loox>
<Type>Transparant</Type>
</Loox>
<ClipLedColor>0,0,255</ClipLedColor>
<LowLevelColor>0,0,255<LowLevelColor>
<MediumLevelColor>0,0,255<MediumLevelColor>
<HighLevelColor>0,0,255<HighLevelColor>
<RefLevelColor>0,0,255<RefLevelColor>
<ShowRefLevels>1</ShowRefLevels>
</Meter>


I obtain this :
Image

Any help would be great!

I have also noticed if i right click "reset skin ressources" and i switch to another skin the change on the level meter are applied to the others skins.
If i restart mulab the other skins have normal level meter and my skinned one is ok.

Post

Two things:

1) If you paste XML code into a post here on the forum, please use the Code tag, as then the text indent is preserved which makes it more easy to read.

2) There is an error in your XML text. I'm not going to say which one. Regard it as an exercise. It's important you know XML when creating skins. I'm sure you'll find it :tu:

Post

Tip: There are many online XML validators that will help you in locating the error, e.g. http://www.xmlvalidation.com/

Post

Thank you mutools i 'll check for my error ;)
About the Code tag i know but i can't find a way to do like you guys past you're code :p

when i 'll found my mistake i 'll make a new screen of the good result :)
Very thx for this feature!

Edit ok i have found how to past a code (i have look at you're proper post :p

Code: Select all



Post

Simon, i just noticed that the block of XML i posted before also contained the faulty tags, i.e. the new color tags had improper end tags, no slash in them. It was a draft version. I suppose you have copy-pasted it from there. Sorry bout that.

Anyway, please have a look at the FullRack.Xml which is included in the 3.1.3 package, it's all correct there. Here it is for your convenience:

Code: Select all

    <Meter>
      <Rectangle>44,1,10,146</Rectangle>
      <Loox>
        <Type>Transparant</Type>
      </Loox>
      <ClipLedColor>255,0,0</ClipLedColor>
      <LowLevelColor>0,128,0</LowLevelColor>
      <MediumLevelColor>128,255,0</MediumLevelColor>
      <HighLevelColor>255,217,0</HighLevelColor>
      <RefLevelColor>102,102,102</RefLevelColor>
      <ShowRefLevels>1</ShowRefLevels>
    </Meter>
You can replace the colors as you wish of course.

Post

Thank you jo you right i have pasted it and the first line was correct.
I have already checked the Looxphat as reference but mine was:

Code: Select all

<Meter>
  <Rectangle>44,1,10,146</Rectangle> 
- <Loox>
  <Type>Transparant</Type> 
  </Loox>
  <ShowLevelLines>1</ShowLevelLines> 
  </Meter>
  </AMixStripEditor>
So i 'll make some skinning now :D.
I 'll post screenshot...

Post

All is perfectly working here some screenshots:
I think by default mulab must have two colours one for the full & one for the master it's more "readable".
Image

Post

By default i propose this one:
Image

Uploaded with ImageShack.us

Here the codes:
Small rack

Code: Select all

 <Meter> 
      <Rectangle>44,1,10,146</Rectangle> 
      <Loox> 
        <Type>Transparant</Type> 
      </Loox> 
      <ClipLedColor>255,0,0</ClipLedColor> 
      <LowLevelColor>255,255,255</LowLevelColor> 
      <MediumLevelColor>255,255,255</MediumLevelColor> 
      <HighLevelColor>255,255,255</HighLevelColor> 
      <RefLevelColor>102,102,102</RefLevelColor> 
      <ShowRefLevels>1</ShowRefLevels> 
    </Meter> 
Full Rack

Code: Select all

<Meter> 
      <Rectangle>44,1,10,146</Rectangle> 
      <Loox> 
        <Type>Transparant</Type> 
      </Loox> 
      <ClipLedColor>255,0,0</ClipLedColor> 
      <LowLevelColor>11,244,181</LowLevelColor> 
      <MediumLevelColor>11,244,181</MediumLevelColor> 
      <HighLevelColor>11,244,181</HighLevelColor> 
      <RefLevelColor>102,102,102</RefLevelColor> 
      <ShowRefLevels>1</ShowRefLevels> 
    </Meter>

Post

Simon Posford wrote:All is perfectly working here some screenshots:
I think by default mulab must have two colours one for the full & one for the master it's more "readable".
What do you mean with "Full" and "Master?"
I am asking because in the next post it's "Full" and "Small"...
ABEFLGMOPPRRST :phones:

Post

Jo, wouldn't be nicer if at least the Master Rack had a thin division in the meter for Left/Right channels? ( but then why not all... :ud: )
ABEFLGMOPPRRST :phones:

Post Reply

Return to “MuTools”