It is currently May 8th, 2024, 7:28 am

Help with Monstercat-Visualizer, left and right

Get help with creating, editing & fixing problems with skins
rinaldop
Posts: 3
Joined: November 1st, 2023, 5:50 am

Help with Monstercat-Visualizer, left and right

Post by rinaldop »

The older version of Monstercat-Visualizer had 2 skins labeled Left.ini and Right.ini but they no longer work. There is now just one skin labeled visualizer.ini
I tried to create visualizerL.ini and visualizerR.ini but only one skin is active at a time.

How can I get 2 visualizers active at the same time so I can have a left visualizer and a right visualizer.

Thanks
User avatar
balala
Rainmeter Sage
Posts: 16202
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with Monstercat-Visualizer, left and right

Post by balala »

rinaldop wrote: November 1st, 2023, 6:04 am How can I get 2 visualizers active at the same time so I can have a left visualizer and a right visualizer.
You have to create two different folders into the root folder of the skin and copy each of the two .ini files into them. Alter each .ini file as you wish and refresh Rainmeter (right-click Rainmeter icon in the Notification Area and click Refresh all). Now you can load both skins at the same time.
User avatar
Yincognito
Rainmeter Sage
Posts: 7207
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Help with Monstercat-Visualizer, left and right

Post by Yincognito »

If balala's suggestion doesn't work (MonsterCat uses Lua scripts so that might be cumbersome to achieve it), you could simply duplicate the entire MonsterCat skin folder to a differently named one and just load them both at the same time. If you want changes in their look and behavior, you can either configure them from their settings skins if the said changes are included, or, like balala mentioned, alter the code yourself accordingly. The latter won't be that easy, depending on what you need, but you can try.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
rinaldop
Posts: 3
Joined: November 1st, 2023, 5:50 am

Re: Help with Monstercat-Visualizer, left and right

Post by rinaldop »

Yincognito wrote: November 1st, 2023, 1:13 pm If balala's suggestion doesn't work (MonsterCat uses Lua scripts so that might be cumbersome to achieve it), you could simply duplicate the entire MonsterCat skin folder to a differently named one and just load them both at the same time. If you want changes in their look and behavior, you can either configure them from their settings skins if the said changes are included, or, like balala mentioned, alter the code yourself accordingly. The latter won't be that easy, depending on what you need, but you can try.
OMG That worked! Copying the entire folder DOES allow you to use each skin's setting's file to edit each skin separately. Thank you!
Now that I have both of you experts here I have another question ;)

The MonsterCat visualizer uses just one color per skin, as far as I can tell. What I would really like is a multicolor visualizer, one that has a different color bar per frequency like GraVis but rotated 90 degrees and 270 degrees from horizontal to vertical to get a left and right visualizer.

So, I either need to change the visuals on MonsterCat or rotate GraVis. I tried to change Orientation=Horizontal to Orientation=Vertical in GraVis but that did not work.

Any ideas?
Thanks
ZXCVBOT

Re: Help with Monstercat-Visualizer, left and right

Post by ZXCVBOT »

Its really simple: Load the MonsterCat Settings: monstercat-visualizer\Settings\general.ini and in General category, there is an option Rotation Angle. Just set it to your preferences. :welcome:
Just read what you asked. I'll check that out later.
Was in a bit of hurry then - apologies for that; found the reference for colors in variables.inc inside the resources folder:

Edit 4: Mass Edited & Formatted

Solution 0?:
You can set something dynamic, but it would be exhausting, and will require more measures.

Solution 1:
I looked at the GraVis skin, and saw it uses pre-defined - per-bar-colors, so, if you want, you can define some colors in variables section of the skin and refer them in each meter - ie. 65 meters. So, it would probably be like:

Code: Select all

[Variables]
Col1=rrr,ggg,bbb,aaa
Col2=rrr,ggg,bbb,aaa
Col3=rrr,ggg,bbb,aaa
Col4=rrr,ggg,bbb,aaa
Col5=rrr,ggg,bbb,aaa
Col6=rrr,ggg,bbb,aaa
Col7=rrr,ggg,bbb,aaa
Col8=rrr,ggg,bbb,aaa
...

[MeterBar0]
...
BarColor=#Col1#
...
[MeterBar1]
...
BarColor=#Col1#
...
[MeterBar65]
...
BarColor=#Col8#
...
and so on...
Edit: This cumbersome process is due to the fact that you want the appearance similar to GraVis in MonsterCat.

Solution 2 - The Easy Way Out:
Edit 3(I believe) & Edit 4 (Added</>): Source: https://forum.rainmeter.net/viewtopic.php?f=15&t=16758
Use

Code: Select all

[MeterBar1]
...
BarImage=<SomeImage>.png
...
Now, this is the easiest process: Just replace every BarColor=#Color# in MeterBars.inc.
Make a gradient-ed image as in the link above and place it somewhere. Create a reference in BarImage=Path/To/Image.png example: if the image is in Resources folder, use BarImage=#@#Image.png

Edit 4: Just adding a line worth of code here to easily mass-replace for someone else: SolidColor=0,0,0,1 is replacable by any line:

Code: Select all

[MeterBar0]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed0
TransformationMatrix=[Matrix]

[MeterBar1]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed1
TransformationMatrix=[Matrix]

[MeterBar2]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed2
TransformationMatrix=[Matrix]

[MeterBar3]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed3
TransformationMatrix=[Matrix]

[MeterBar4]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed4
TransformationMatrix=[Matrix]

[MeterBar5]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed5
TransformationMatrix=[Matrix]

[MeterBar6]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed6
TransformationMatrix=[Matrix]

[MeterBar7]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed7
TransformationMatrix=[Matrix]

[MeterBar8]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed8
TransformationMatrix=[Matrix]

[MeterBar9]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed9
TransformationMatrix=[Matrix]

[MeterBar10]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed10
TransformationMatrix=[Matrix]

[MeterBar11]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed11
TransformationMatrix=[Matrix]

[MeterBar12]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed12
TransformationMatrix=[Matrix]

[MeterBar13]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed13
TransformationMatrix=[Matrix]

[MeterBar14]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed14
TransformationMatrix=[Matrix]

[MeterBar15]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed15
TransformationMatrix=[Matrix]

[MeterBar16]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed16
TransformationMatrix=[Matrix]

[MeterBar17]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed17
TransformationMatrix=[Matrix]

[MeterBar18]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed18
TransformationMatrix=[Matrix]

[MeterBar19]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed19
TransformationMatrix=[Matrix]

[MeterBar20]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed20
TransformationMatrix=[Matrix]

[MeterBar21]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed21
TransformationMatrix=[Matrix]

[MeterBar22]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed22
TransformationMatrix=[Matrix]

[MeterBar23]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed23
TransformationMatrix=[Matrix]

[MeterBar24]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed24
TransformationMatrix=[Matrix]

[MeterBar25]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed25
TransformationMatrix=[Matrix]

[MeterBar26]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed26
TransformationMatrix=[Matrix]

[MeterBar27]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed27
TransformationMatrix=[Matrix]

[MeterBar28]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed28
TransformationMatrix=[Matrix]

[MeterBar29]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed29
TransformationMatrix=[Matrix]

[MeterBar30]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed30
TransformationMatrix=[Matrix]

[MeterBar31]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed31
TransformationMatrix=[Matrix]

[MeterBar32]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed32
TransformationMatrix=[Matrix]

[MeterBar33]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed33
TransformationMatrix=[Matrix]

[MeterBar34]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed34
TransformationMatrix=[Matrix]

[MeterBar35]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed35
TransformationMatrix=[Matrix]

[MeterBar36]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed36
TransformationMatrix=[Matrix]

[MeterBar37]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed37
TransformationMatrix=[Matrix]

[MeterBar38]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed38
TransformationMatrix=[Matrix]

[MeterBar39]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed39
TransformationMatrix=[Matrix]

[MeterBar40]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed40
TransformationMatrix=[Matrix]

[MeterBar41]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed41
TransformationMatrix=[Matrix]

[MeterBar42]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed42
TransformationMatrix=[Matrix]

[MeterBar43]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed43
TransformationMatrix=[Matrix]

[MeterBar44]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed44
TransformationMatrix=[Matrix]

[MeterBar45]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed45
TransformationMatrix=[Matrix]

[MeterBar46]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed46
TransformationMatrix=[Matrix]

[MeterBar47]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed47
TransformationMatrix=[Matrix]

[MeterBar48]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed48
TransformationMatrix=[Matrix]

[MeterBar49]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed49
TransformationMatrix=[Matrix]

[MeterBar50]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed50
TransformationMatrix=[Matrix]

[MeterBar51]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed51
TransformationMatrix=[Matrix]

[MeterBar52]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed52
TransformationMatrix=[Matrix]

[MeterBar53]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed53
TransformationMatrix=[Matrix]

[MeterBar54]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed54
TransformationMatrix=[Matrix]

[MeterBar55]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed55
TransformationMatrix=[Matrix]

[MeterBar56]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed56
TransformationMatrix=[Matrix]

[MeterBar57]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed57
TransformationMatrix=[Matrix]

[MeterBar58]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed58
TransformationMatrix=[Matrix]

[MeterBar59]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed59
TransformationMatrix=[Matrix]

[MeterBar60]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed60
TransformationMatrix=[Matrix]

[MeterBar61]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed61
TransformationMatrix=[Matrix]

[MeterBar62]
Meter=BAR
PrimaryImage=#@#images\image.png
SolidColor=0,0,0,1
Group=GroupBars
MeasureName=MeasureAudioSmoothed62
TransformationMatrix=[Matrix]
image.png
You do not have the required permissions to view the files attached to this post.
User avatar
Yincognito
Rainmeter Sage
Posts: 7207
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Help with Monstercat-Visualizer, left and right

Post by Yincognito »

rinaldop wrote: November 1st, 2023, 4:09 pm OMG That worked! Copying the entire folder DOES allow you to use each skin's setting's file to edit each skin separately. Thank you!
Now that I have both of you experts here I have another question ;)

The MonsterCat visualizer uses just one color per skin, as far as I can tell. What I would really like is a multicolor visualizer, one that has a different color bar per frequency like GraVis but rotated 90 degrees and 270 degrees from horizontal to vertical to get a left and right visualizer.

So, I either need to change the visuals on MonsterCat or rotate GraVis. I tried to change Orientation=Horizontal to Orientation=Vertical in GraVis but that did not work.

Any ideas?
Thanks
Besides what ZXCVBOT said (not sure if you'll be able to do what he said, since the Monstercat Lua scripts recreate those meters in MeterBars.inc on each load or refresh of the skin if I recall correctly), you can use the Search button(s) on this forum to look for the "Monstercat" text and "Yincognito" as the author, since I remember already talking about these things in the past (I really would like to avoid repeating myself on such complex skins):
https://forum.rainmeter.net/viewtopic.php?t=42352
and eclectic-tech did that too, for a similar scripted skin:
https://forum.rainmeter.net/viewtopic.php?t=40241

The long and short of it is that the Monstercat code uses so called "factory measures" that run "factory scripts" in Lua to control how the visualizer looks and feels by (re)creating meters and such. Such factory measures have OptionN and ValueN options themselves that replicate the meters they create, so changing those options accordingly would most likely do the job. The other particularity of your goal is that Bar meters cannot be rotated from their own options (you'd have to add a TransformationMatrix option to them, as pointed out already)... however, if they are replaced with rectangular Shape meters, the latter can be rotated much easier than by using TransformationMatrix. The color topic depends on what you want, maybe ZXCVBOT covered that better, but again, the changes should be done through those factory measures - the Shape meters can display gradients, if you need them by any chance (probably not though, since you want the "bar" to have a single color, but one that is determined by frequency).
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
rinaldop
Posts: 3
Joined: November 1st, 2023, 5:50 am

Re: Help with Monstercat-Visualizer, left and right

Post by rinaldop »

Thank you everyone for all your help!

I will have to think about how I am going to get this to work. While I was doing research on how to do my project I found this skin that is COMPLETELY customizable and I might use it instead.

It is very cool!

https://www.deviantart.com/eclectic-tech/art/Versa-Visualizer-605237871
User avatar
Yincognito
Rainmeter Sage
Posts: 7207
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Help with Monstercat-Visualizer, left and right

Post by Yincognito »

rinaldop wrote: November 1st, 2023, 7:33 pm Thank you everyone for all your help!

I will have to think about how I am going to get this to work. While I was doing research on how to do my project I found this skin that is COMPLETELY customizable and I might use it instead.

It is very cool!

https://www.deviantart.com/eclectic-tech/art/Versa-Visualizer-605237871
Sure thing - choose what suits you best! :thumbup:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
ZXCVBOT

Re: Help with Monstercat-Visualizer, left and right

Post by ZXCVBOT »

While you would be doing that, might I add: https://forum.rainmeter.net/viewtopic.php?t=28665#p149441

The above will Load and Unload the Visualizers as and when needed - If you stick to 1 player. As it is from the same person (eclectic-tech), it also contains Versa-Visualizer. Just set that in variables and you're good to go. :welcome: