Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1763

Help: Rainmeter Skins • Re: Measure Audio Level

$
0
0
I need a little help with setting the Scale factor in the Code....


Orginal - Code [Works]

Code:

[Variables]ScaleX=1ScaleY=1;--------------OrginalCode----------;BAR1Shape=Path FrontPath0 | StrokeWidth 2 | Stroke Color #ColorSoundBarLine# | Fill LinearGradient FrontGrad | StrokeLineJoin BevelFrontPath0=((#BW#+#GW#)*0),(#BH#) | LineTo ((#BW#+#GW#)*0+#BW#),(#BH#) | LineTo ((#BW#+#GW#)*0+#BW#),(#BH#-#BH#*[MeasureAudioRMS_L1]) | LineTo ((#BW#+#GW#)*0),(#BH#-#BH#*[MeasureAudioRMS_L1]) | LineTo ((#BW#+#GW#)*0),(#BH#) | SetRoundJoin 1Shape2=Path SidePath0 | StrokeWidth 2 | Stroke Color #ColorSoundBarLine# | Fill LinearGradient SideGrad | StrokeLineJoin BevelSidePath0=((#BW#+#GW#)*0+#BW#),(#BH#) | LineTo ((#BW#+#GW#)*0+#BW#+#PD#),(#BH#-#PD#) | LineTo ((#BW#+#GW#)*0+#BW#+#PD#),(#BH#-#BH#*[MeasureAudioRMS_L1]-#PD#) | LineTo ((#BW#+#GW#)*0+#BW#),(#BH#-#BH#*[MeasureAudioRMS_L1]) | LineTo ((#BW#+#GW#)*0+#BW#),(#BH#) | SetRoundJoin 1Shape3=Path TopPath0 | StrokeWidth 2 | Stroke Color #ColorSoundBarLine# | Fill LinearGradient TopGrad | StrokeLineJoin BevelTopPath0=((#BW#+#GW#)*0),(#BH#-#BH#*[MeasureAudioRMS_L1]) | LineTo ((#BW#+#GW#)*0+#BW#),(#BH#-#BH#*[MeasureAudioRMS_L1]) | LineTo ((#BW#+#GW#)*0+#BW#+#PD#),(#BH#-#BH#*[MeasureAudioRMS_L1]-#PD#) | LineTo ((#BW#+#GW#)*0+#PD#),(#BH#-#BH#*[MeasureAudioRMS_L1]-#PD#) | LineTo ((#BW#+#GW#)*0),(#BH#-#BH#*[MeasureAudioRMS_L1]) | SetRoundJoin 1

Changed - Code [Something wrong]

Code:

[Variables]ScaleX=1ScaleY=1[MeasureAudioOutput1]Measure=PluginPlugin=AudioLevelPort=OutputRMSAttack=150RMSDecay=150RMSGain=5PeakAttack=10PeakDecay=100PeakGain=1.0Sensitivity=50[MeasureAudioRMS_L1]Measure=PluginPlugin=AudioLevelParent=MeasureAudioOutput1Channel=LType=RMS;--------------ChangedCode with Scale----------Shape=Path FrontPath0 | StrokeWidth 2 | Stroke Color #ColorSoundBarLine# | Fill LinearGradient FrontGrad | StrokeLineJoin BevelFrontPath0=((#BW#+#GW#)*0*#ScaleX#),(#BH#*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#*#ScaleX#),(#BH#*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#) | LineTo ((#BW#+#GW#)*0*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#) | LineTo ((#BW#+#GW#)*0*#ScaleX#),(#BH#*#ScaleY#) | SetRoundJoin 1Shape2=Path SidePath0 | StrokeWidth 2 | Stroke Color #ColorSoundBarLine# | Fill LinearGradient SideGrad | StrokeLineJoin BevelSidePath0=((#BW#+#GW#)*0+#BW#*#ScaleX#),(#BH#*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#+#PD#*#ScaleX#),(#BH#-#PD#*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#+#PD#*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#-#PD#*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#*#ScaleX#),(#BH#*#ScaleY#) | SetRoundJoin 1Shape3=Path TopPath0 | StrokeWidth 2 | Stroke Color #ColorSoundBarLine# | Fill LinearGradient TopGrad | StrokeLineJoin BevelTopPath0=((#BW#+#GW#)*0*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#BW#+#PD#*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#-#PD#*#ScaleY#) | LineTo ((#BW#+#GW#)*0+#PD#*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#-#PD#*#ScaleY#) | LineTo ((#BW#+#GW#)*0*#ScaleX#),(#BH#-#BH#*[MeasureAudioRMS_L1]*#ScaleY#) | SetRoundJoin 1
ezgif1.gif

Anything is wrong, but i cant find it:
[Tanks for helping] :rosegift:

Statistics: Posted by Rooky_89 — Yesterday, 10:34 pm



Viewing all articles
Browse latest Browse all 1763

Trending Articles