KOHHearts wrote:My audio card no longer supports this plugin (it used to). I have an external usb card (Saffire 6 USB) and AudioLevel doesn't receive any information.
If I set the Realtek soundcard that comes with the computer it works.
It isn't something I changed since already tried reinstalling rainmeter and that. Tried using the DeviceID to force using the external card but this doesn't resolve anything so it's not the problem.
Any idea?
First thing I'd try is changing # channels and bitrate. Try stereo, 16b or 24b samples, or other combinations, and see if anything makes it happy. Also check the log window when it fires up and see if any info is popping up there.
It definitely works with at least some USB outboard interfaces, since I have a Line6 UX8. But if the drivers for yours aren't allowing the WASAPI loopback client, then the plugin will be out of luck.
Post back if you get anything from the log details, and I'll see if I can help track it down.
dgrace wrote:
First thing I'd try is changing # channels and bitrate. Try stereo, 16b or 24b samples, or other combinations, and see if anything makes it happy. Also check the log window when it fires up and see if any info is popping up there.
It definitely works with at least some USB outboard interfaces, since I have a Line6 UX8. But if the drivers for yours aren't allowing the WASAPI loopback client, then the plugin will be out of luck.
Post back if you get anything from the log details, and I'll see if I can help track it down.
dave
Sorry for not answering, was away on holiday.
I tried changing the number of channels and that things and didn't work.
The logs are like this so probably can't help.
By any chance is your sound application running in WASAPI exclusive mode? We recently discovered that this doesn't work with the AudioLevel plugin at all. One way to prevent apps taking exclusive control is to right click on the volume icon, select "Playback Devices", pick your device, right-click and do Properties, look in the Advanced tab, and disable "Allow applications to take exclusive control of this device". Give that a shot and see if it makes any difference.
dave
KOHHearts wrote:
I tried changing the number of channels and that things and didn't work.
The logs are like this so probably can't help.
I wasn't able to make a compelling case for modifying the plugin interface to support waveforms, but there's a workaround to do it without having to change Rainmeter. Here's a skin with a custom version of the AudioLevel plugin that supports the feature. (note that if you enable waveform display, the plugin will be writing out .png files for each channel, every update, so be advised it may eat some CPU) Let me know if this works.
The new parent measure params are:
WaveformWidth: (integer) in pixels, defaults to 0 which disables waveform output
WaveformHeight: (integer) in pixels, defaults to 0 which disables waveform output
WaveformZoom: (integer) # audio samples per horizontal pixel, must be >= 1
WaveformScroll: (0/1) whether to scroll the window or wrap the play cursor
WaveformColorStart: (color) color at the play cursor
WaveformColorEnd: (color) color at the end of fade region
WaveformFadeLength (integer) in pixels, length of fade region
WaveformColorCursor (color) color of the play cursor (ignored if scroll is on)
New child measure params:
Type=Waveform (this makes this child measure output a waveform image for the specified channel)
WaveformFile: (filename) path of output .png to send to your Image meter
dave
You do not have the required permissions to view the files attached to this post.
Last edited by dgrace on November 25th, 2015, 3:29 am, edited 1 time in total.
I don't really get it... I just get two static images wfm_L.png and wfm_R.png output, and they never change.
Edit: Oh I get it. You really can't call this AudioLevel.dll. The .rmskin installs it it APPDATA\Rainmeter\Plugins and that conflicts with the one distributed with Rainmeter in Program Files\Rainmeter\Plugins. The one in Program Files will always win.
The short-term solution is to delete or rename the one in Program Files to get Rainmeter to see your new one. The long-term solution is to update the AudioLevel code in the Rainmeter GitHub so the change is distributed.
P.S. This still screws up my audio output If I stop and restart a song in VLC. I can correct it by completely exiting VLC and restarting it. When I stop a song and start it again, the audio is muted and tinny. If I exit VLC so it starts completely fresh, then it is fine until I again stop and start a song. This makes it kinda unusable for me. It doesn't do this with the regular AudioLevel plugin doing the vu-meter / visualizer stuff, just when I use the Waveform functionality.
Additional note: This might be a quirk with VLC and your plugin exclusively. When I use WinAmp instead, I don't have the issue. I can't say about many other players. Seems fine with Groove Music in Windows 10.
Updated it with a renamed plugin (AudioLevel2). Never did figure out what's up with VLC - I couldn't repro the bug when I tried it here. (I only tested it once though really; I typically use Windows Media Player)