It is currently December 10th, 2018, 8:51 pm

AudioLevel

Share your custom plugins and applications to enhance Rainmeter.
f1schu
Posts: 4
Joined: September 19th, 2014, 3:10 am

Re: New Plugin: AudioLevel

f1schu » September 19th, 2014, 3:46 am

Hi first of all, great work on this mate, been waiting for something like this so thx!!

I'm wondering if someone would be kind enough to have a go at making this K.I.T.T style voice box for me as im crap at this sort of thing. Just need it to read the peeks (I think) for what I need it for.
Many thx!

http://www.youtube.com/watch?v=6hFyuvwQyV0
User avatar
VasTex
Posts: 408
Joined: September 20th, 2012, 3:17 pm
Location: USA - Montana

Re: New Plugin: AudioLevel

VasTex » September 19th, 2014, 10:02 am

Skin Requests

That being said we'd be happy to help you work it out for yourself. That's what we're here for.
01010100 01100101 01100011 01101000 01101110 01101111 01101100 01101111 01100111 01101001
01100011 01100001 01101100 00100000 01000010 01100001 01100100 01100001 01110011 01110011
f1schu
Posts: 4
Joined: September 19th, 2014, 3:10 am

Re: New Plugin: AudioLevel

f1schu » September 19th, 2014, 4:04 pm

My bad did not see that xD
I will have a go at playing around with it and see what I can do, will post if I need help with something, Thx!
f1schu
Posts: 4
Joined: September 19th, 2014, 3:10 am

Re: New Plugin: AudioLevel

f1schu » September 19th, 2014, 8:46 pm

Just been playing around with this and seeing what things do and everything is working great.
I have one issue however. I'm not sure if this is related to an issue that was discussed earlier on in this thread about it getting stuck in a loop and buzzing but for me this is what happens.
When I first launch the plugin everything is fine, but if I then open a window (for example IE) and then minimise it to the taskbar or maximise a window that's been minimised to the taskbar previously I get a buzzing sound and the bars don't zero. If I open windows media player and play some music for a second and then stop it but leave media player open then the problem goes away and I can open and close windows without any buzzing and the bars zero as normal until I close windows media player and then the issue returns?

I'm using Windows 7 x64 with latest version of the plugin and the default VU meter skin un modified.
User avatar
VasTex
Posts: 408
Joined: September 20th, 2012, 3:17 pm
Location: USA - Montana

Re: New Plugin: AudioLevel

VasTex » September 19th, 2014, 9:28 pm

Yea this was mentioned a few pages back.

I've never had the issue, but this was posted by Dank420 a while back as a 'fix' for the buzz. Just add this code to your code and it will refresh the skin anytime it hits a point where buzzing may occur.

Code: Select all

:::::Buzzkill Not hard variable , not in [Variables]:::::::

[enablebuzzkill]
measure=calc
formula=[measureAudioRaw_Out]
ifbelowvalue=0.00001
ifbelowaction=[!togglemeasure buzzkill][!updatemeasure buzzkill]
ifabovevalue=0.00001
ifaboveaction=[!setvariable buzzkill 1][!updatemeasure buzzkill]
dynamicvariables=1

[buzzkill]
measure=calc
formula=#buzzkill#
ifequalvalue=1
ifequalaction=[!refresh]
dynamicvariables=1
disabled=1
*Keep in mind that you'll need to change the line 'formula=[measureAudioRaw_Out] to 'formula=[YourMainAudioMeasure]' to reflect your code specifically.

If you have further, skin specific issues, please create your own topic to keep this one relatively clean. However, if you continue to have issues regarding this plugin specifically then feel free to post here again.
01010100 01100101 01100011 01101000 01101110 01101111 01101100 01101111 01100111 01101001
01100011 01100001 01101100 00100000 01000010 01100001 01100100 01100001 01110011 01110011
f1schu
Posts: 4
Joined: September 19th, 2014, 3:10 am

Re: New Plugin: AudioLevel

f1schu » September 21st, 2014, 4:43 pm

Using the code posted above helped a little, now it only does it intermittently when minimising or maximising a window. Don't know if this will help to solve the issue but its only doing it if I use a Windows theme that has sounds when minimising or maximising windows.
Also wanted to ask if it is possible to have separate gain, attack, decay settings?
I have 3 bars measuring peak and want the one in the middle to have different settings to the left and right bars. Many thx!

Other than this buzzing issue this plugin is great and I've almost finished my skin too :)
User avatar
Dank420
Posts: 147
Joined: April 3rd, 2013, 1:04 am
Location: O-High-O

Re: New Plugin: AudioLevel

Dank420 » September 26th, 2014, 9:48 pm

i found when using multiple skins even if linked to one parent buzz could happen, (i think due to refresh times?) So fiddled and found Play Ding worked so ....

current state of what my buzzkill looks like, linked to player to avoid system sound, but lose say browser sounds.... also changes update for 40 to 1000 while no sound....(assuming you make update=#updaterate#)

Code: Select all

[variables]
playername=cad
updaterate=40
userupdaterate=1000


[mPlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=#PLAYERNAME#
PlayerType=Status

[playeroncalc]
measure=calc
formula=mPlayer
ifequalvalue=0
ifequalaction=[!disablemeasure enablebuzzkill][!WriteKeyValue "Variables" "updaterate" 1000 "#@#VUFFTColors.ini"][!togglemeasure buzzkill][!updatemeasure buzzkill]
ifabovevalue=0
ifaboveaction=[!togglemeasure enablebuzzkill]
dynamicvariables=1


[enablebuzzkill]
measure=calc
formula=[measureAudioRaw_Out]
ifabovevalue=0.000010
ifaboveaction=[!setvariable buzzkill 1][!WriteKeyValue "Variables" "updaterate" "#UserUpdaterate#" "#@#VUFFTColors.ini"][!updatemeasure buzzkill][!redraw]
dynamicvariables=1
disabled=1

[buzzkill]
measure=calc
formula=#buzzkill#
ifequalvalue=1
ifequalaction=[play "C:\Windows\Media\ding.wav"][!togglemeasure buzzkillcounter]
dynamicvariables=1
disabled=1


[buzzkillcounter]
measure=calc
formula=buzzkillcounter+2
ifequalvalue=4
ifequalaction=[play "C:\Windows\Media\ding.wav"][!refresh]
dynamicvariables=1
disabled=1
i use win7 so ding at C:\Windows\Media\ding.wav, might be elsewhere for others?

i found using ding i dont here buzz even, instead of buzz stopp .. just no buzz....

lightwieght would be

Code: Select all

[enablebuzzkill]
measure=calc
formula=[measureAudioRaw_Out]
ifabovevalue=0.000001
ifaboveaction=[!setvariable buzzkill 1][!updatemeasure buzzkill][!redraw]
dynamicvariables=1

[buzzkill]
measure=calc
formula=#buzzkill#
ifequalvalue=1
ifequalaction=[play "C:\Windows\Media\ding.wav"][!togglemeasure buzzkillcounter]
dynamicvariables=1
disabled=1

[buzzkillcounter]
measure=calc
formula=buzzkillcounter+2
ifequalvalue=4
ifequalaction=[play "C:\Windows\Media\ding.wav"]
dynamicvariables=1
disabled=1

might not need buzzkillcounter if single skin, i use it to refresh multiple and timing cutting each other off seemed maybe an issue? so counter worked......
as stated about would need to change [measureAudioRaw_Out] to reflect your audio parentmeasure
not sure if linking to player will help your skin , but play ding might!
thekey
Posts: 56
Joined: July 25th, 2013, 4:13 pm

Re: New Plugin: AudioLevel

thekey » October 7th, 2014, 4:35 pm

Does anyone else experience this bug and possibly know of a fix for this plugin "stalling" when using a PLAY bang? When playing music or other audio it works perfectly as intended, but if I have a skin utilize the play bang to produce a sound the visualization stalls out above the "zero" value. It happens with both my custom skin utilizing this plugin and the example one.

I noticed that it does not provide this problem when Windows Media Center is open, and the problem goes away momentarily when Windows produces a sound such as a dialog box opening.
You do not have the required permissions to view the files attached to this post.
User avatar
MarcoPixel
Posts: 36
Joined: June 8th, 2012, 9:43 am
Location: Austria

Re: New Plugin: AudioLevel

MarcoPixel » October 12th, 2014, 2:13 pm

Thanks for you plugin, really looks gorgeous on the desktop.

Just one question, is it possible to smoothen the values at the spectrum bars?
User avatar
dgrace
Developer
Posts: 265
Joined: June 28th, 2014, 8:32 am
Location: Tokyo, Japan

Re: New Plugin: AudioLevel

dgrace » October 20th, 2014, 6:22 am

If by "smoothen" you mean to change the rates at which they grow/shrink, yes you can adjust them via the FFTAttack and FFTDecay settings. See the docs here: http://docs.rainmeter.net/manual-beta/plugins/audiolevel

Cheers,

dave