killall-q wrote:BUG: Playing audio or video locally and then closing the player while playing will cause the sound to be "stuck" in a horrible buzzing fashion.
I can replicate this with both 1.0.2 and 1.0.5 (don't have 1.0.0), with VLC and MPlayer. Windows Media Player doesn't glitch out as much, I suspect due to WMP stopping playback properly when exiting. I've tried all the output methods in VLC with the same results (DirectX, WaveOut, Windows Multimedia Device). The buzz can be fixed by playing any audio and stopping properly. This only manifests while the plugin is loaded.
My audio output device is Realtek HD Audio.
One question: does the buzzing stop when you unload/refresh the skin in Rainmeter?
Ok one more. This one fixes the bug jsmorley and I have been seeing, where the levels don't get zeroed out when an application closes. Probably doesn't fix the stuck looping though - I still can't see any way that I can detect that from the plugin. I even get a little of it when switching tracks in Windows Media Player. Doesn't make sense that I should have to stop monitoring at the end of any audio source though, because then it would shut off if you got an email alert in the middle of a song.
This one also lets you specify the ID of your preferred device, so you can create multiple different ones for headphones, speakers etc. To get the ID, create a child measure with Type=DeviceList and look in the RainMeter About window - copy out the ID part (before the : )
and put that in your parent AudioLevel measure. Example:
Ok try this latest one, see if the looping buffer is still happening on shutdown. Also added gain params to the RMS and peak levels to make up for the filtering loss.
It does fix it, but not without "breaking it in" by playing audio from specific sources first, for example YouTube or Windows Media Player. It even stayed fixed when I reinstalled 1.0.6. Once it's fixed, it's fixed until the next log on or restart. And while it's quickly fixed for VLC this way, it's much more random and rare to get the fix to work for Audacity.
Output peaks changed in 1.0.7 for both peak and RMS to ~0.8468. After some mysterious conditions are met, output peaks change to ~0.9847.
Only 550 Hz tones produce a flat output for seeing this:
Audacity Test Tones.zip
No file format preserves amplitude, so it's an Audacity project file. Uncheck "solo" to switch to the other track. Use with this graph skin: