I think updating the plugin itself is highly unlikely, but the basics of it are perfectly achievable.sl23 wrote: ↑July 9th, 2024, 10:37 am The decrease isn't so much of an issue really, it's mainly the increase. When louder volumes are given, the peak meters don't quite respond quickly enough. So the RMS VU meters exceed the Peak volume, which obviously shouldn't happen.
They also, occasionally 'stick' when maxed out for over the delay time.
I was just hoping that maybe this could be updated (not fixed) so it could be used to properly gauge the peaks.
![]()
For example, like I repeatedly said before (to no avail), some simple changes to the "Value Increase" variant I wrote earlier do some of what you mentioned, except the gradual decrease to the current RMS level (which is why I said it was the main issue to solve):
Code: Select all
[Variables]
Update=25
TimeMax=1000
[Rainmeter]
Update=#Update#
AccurateText=1
DynamicWindowSize=1
BackgroundMode=2
SolidColor=128,128,128,255
---Measures---
[CurrValue]
Measure=Plugin
Plugin=AudioLevel
[TimeValue]
Group=Toggle
Paused=1
Measure=Calc
Formula=((TimeValue+#Update#>=#TimeMax#)||(CurrValue>HoldValue)?0:TimeValue+#Update#)
IfCondition=(TimeValue=0)
IfTrueAction=[!TogglePauseMeasureGroup Toggle]
IfConditionMode=1
[HoldValue]
Group=Toggle
Measure=Calc
Formula=CurrValue
IfCondition=(CurrValue<=HoldValue)&&(TimeValue=0)
IfTrueAction=[!TogglePauseMeasureGroup Toggle]
IfConditionMode=1
[PeakValue]
Measure=Plugin
Plugin=AudioLevel
Parent=CurrValue
Type=Peak
---Meters---
[Result]
Meter=String
FontFace=Consolas
MeasureName =CurrValue
MeasureName2=HoldValue
MeasureName3=PeakValue
NumOfDecimals=5
Text=Curr Value = %1#CRLF#Hold Value = %2#CRLF#Peak Value = %3
DynamicVariables=1
[Visual]
Meter=Shape
X=5R
Y=0r
Shape =Rectangle 0, 0, 150 ,48 | StrokeWidth 0 | Fill Color 128,128,128,255
Shape2=Rectangle 0, 0,([CurrValue]*150),16 | StrokeWidth 0 | Stroke Color 0,0,0,0 | Fill Color 255,0,0,255
Shape3=Rectangle 0,16,([HoldValue]*150),16 | StrokeWidth 0 | Stroke Color 0,0,0,0 | Fill Color 0,255,0,255
Shape4=Rectangle 0,32,([PeakValue]*150),16 | StrokeWidth 0 | Stroke Color 0,0,0,0 | Fill Color 0,0,255,255
DynamicVariables=1
and I don't like to do pointless things. So, it's just a minimal attempt, not even bothering with the Type=Peak values other than illustrating them for comparison purposes. I used the first 30 seconds of Cypress Hill - Insane In The Brain as a testing track, by the way.
By the way, if curious, eclectic-tech tackled the gain (not the hold, as far as I could see from the preview) thing, so maybe that helps too:
https://forum.rainmeter.net/viewtopic.php?t=44295