It is currently April 16th, 2024, 6:40 am

Simple Glass Equalizer

Media controls, music players, video and animated visualizers
drakulaboy
Posts: 165
Joined: June 29th, 2014, 8:35 pm

Re: Simple Glass Equalizer

Post by drakulaboy »

i'm keep looking, why i did not do that at the beginning of this month, it would be cool to have some REAL :D christmas lights on desktop

oh, and i opened Log and there is Calc: Division by 0 error
when i try your variant
drakulaboy
Posts: 165
Joined: June 29th, 2014, 8:35 pm

Re: Simple Glass Equalizer

Post by drakulaboy »

Code: Select all

[Rainmeter]
Update=50
DynamicWindowSize=1
AccurateText=1

[Variables]
Red=21
Green=242
Blue=103

[MeasureAudio]
Measure=Plugin
Plugin=AudioLevel
Port=Output
FFTSize=1024
FFTAttack=15
FFTDecay=250

[measureAudioOut_RMS_R]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudio
Channel=L
Type=RMS

[MeasureRandom]
Measure=Calc
Formula=Random / measureAudioOut_RMS_R
UpdateRandom=1
LowBound=0
HighBound=100

[MeterBack]
Meter=Image
ImageName=BackBorder.png

[MeterCenter]
Meter=Image
ImageName=BackCenter.png
ColorMatrix1=(1+((#Red#/255)*[MeasureRandom]));0;0;0;0
ColorMatrix2=0;(1+((#Green#/255)*[MeasureRandom]));0;0;0
ColorMatrix3=0;0;(1+((#Blue#/255)*[MeasureRandom]));0;0
DynamicVariables=1
now no errors but still that ugly thing from center
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple Glass Equalizer

Post by jsmorley »

drakulaboy wrote:i'm keep looking, why i did not do that at the beginning of this month, it would be cool to have some REAL :D christmas lights on desktop

oh, and i opened Log and there is Calc: Division by 0 error
when i try your variant
Dunno. Be careful about "white space" in the ColorMatrix options when you are using a formula in it. It can be touchy about that.

ColorMatrix1=(1+((#Red#/255)*[MeasureRandom]));0;0;0;0
ColorMatrix2=0;(1+((#Green#/255)*[MeasureRandom]));0;0;0
ColorMatrix3=0;0;(1+((#Blue#/255)*[MeasureRandom]));0;0
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple Glass Equalizer

Post by jsmorley »

Oh, it's this:

Formula=Random / measureAudioOut_RMS_R

The value of measureAudioOut_RMS_R can easily be zero, which you can't divide by. Not sure you need the Random stuff anyway. Just use the value from 0 to 1 of the plugin measure.
drakulaboy
Posts: 165
Joined: June 29th, 2014, 8:35 pm

Re: Simple Glass Equalizer

Post by drakulaboy »

it's ok, i'm happy with this skin :yahoo: kinda addictive to Rainmeter now :D
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple Glass Equalizer

Post by jsmorley »

One last... I liked the idea of the rotating colors as well...

Code: Select all

[Rainmeter]
Update=200
DynamicWindowSize=1
AccurateText=1

[Variables]
Red=255
Green=0
Blue=0

[MeasureColorRotate]
Measure=Calc
Formula=(MeasureColorRotate % 6) + 1
IfCondition=MeasureColorRotate = 1
IfTrueAction=[!SetVariable Red "255"][!SetVariable Green "0"][!SetVariable Blue "0"]
IfCondition2=MeasureColorRotate = 2
IfTrueAction2=[!SetVariable Red "0"][!SetVariable Green "255"][!SetVariable Blue "0"]
IfCondition3=MeasureColorRotate = 3
IfTrueAction3=[!SetVariable Red "0"][!SetVariable Green "0"][!SetVariable Blue "255"]
IfCondition4=MeasureColorRotate = 4
IfTrueAction4=[!SetVariable Red "255"][!SetVariable Green "255"][!SetVariable Blue "0"]
IfCondition5=MeasureColorRotate = 5
IfTrueAction5=[!SetVariable Red "255"][!SetVariable Green "0"][!SetVariable Blue "255"]
IfCondition6=MeasureColorRotate = 6
IfTrueAction6=[!SetVariable Red "0"][!SetVariable Green "255"][!SetVariable Blue "255"]
UpdateDivider=10

[MeasureRandom]
Measure=Calc
Formula=Random / 100
UpdateRandom=1
LowBound=50
HighBound=100

[MeterBack]
Meter=Image
ImageName=#@#Images\BackBorder.png

[MeterImage]
Meter=Image
ImageName=#@#Images\BackCenter.png
ColorMatrix1=(1+((#Red#/255)*[MeasureRandom]));0;0;0;0
ColorMatrix2=0;(1+((#Green#/255)*[MeasureRandom]));0;0;0
ColorMatrix3=0;0;(1+((#Blue#/255)*[MeasureRandom]));0;0
DynamicVariables=1
test.gif
You do not have the required permissions to view the files attached to this post.
drakulaboy
Posts: 165
Joined: June 29th, 2014, 8:35 pm

Re: Simple Glass Equalizer

Post by drakulaboy »

yeee, that is working cool maestro, Happy New Year again :D
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple Glass Equalizer

Post by jsmorley »

drakulaboy wrote:yeee, that is working cool maestro, Happy New Year again :D
Same to you.
retard
Posts: 1
Joined: September 12th, 2015, 3:10 am

Re: Simple Glass Equalizer

Post by retard »

....thanks! permanent add for my desktop!