Control audio via OBS for Alerts causes audio glitching

cuppanoodle

New Member
Hello~!

So, I've been experimenting with OBS for the first time and I've been working on setting it up for some streaming I plan on doing in the near future with some friends. I've run into a couple of issues and this is the one I'm currently focusing on and trying to resolve. Only, I've run into a wall now and I'm completely lost on what to do. So now I'm hoping some of you fine, generous folks on the OBS forums would be kind enough to donate some of your time with me in trying to find out what's wrong.

I believe you're going to need some basic knowledge of VoiceMeeter Potato in order to help me.

My Specs:
My CPU is an i7-12700K @ 3.60 GHz and my GPU is an RTX 3070. I have 32GB of DDR4 RAM @ 3600Mz. I don't have a fancy audio setup, I just have my speakers which are the PreSonus® Eris® E3.5 Studio Monitor plugged into the back of my PC. I converted my Philips Fidelio X2HR headphones into a headset with the Creative Sound Blaster Play!3 High Resolution USB DAC Amp and External Sound Card with a V-Moda Boompro Microphone. I have no issues with this setup outside of the one I'll be talking about today and one that is specific just to Discord. My motherboard is a Z690M AORUS ELITE AX DDR4 (rev. 1.x).

My Setup:
I'm using VoiceMeeter Potato Version 3.0.2.8 and their VB-CABLE Virtual Audio Device. VoiceMeeter Input is my default playback device and VoiceMeeter Output is my default recording device (as recommended). I have my Mic set to Hardware Input 1 and my Soundboard going through my Hardware Input 2 using CABLE Output (VB-Audio Virtual Cable and enabling B1 so the Soundboard goes through the same source as my mic.

In the Hardware Out section, I have A1 set to my speakers and A2 set to my headset.

I have Discord set to use my default mic of VoiceMeeter Output, but I have changed Discord's Output Device to VoiceMeeter Aux Input. That way, I was able to add a separate Audio Output Capture in OBS just for Discord, which works as intended. So in OBS, I have three separate audio sources: Desktop, Discord and Mic. Which all works perfectly fine in OBS, confirmed in many test recordings I've been conducting in the past few weeks.

I'm also using StreamElements for my chatbox and alerts.

The Issue:

I'm currently trying to separate the alert sounds from my desktop audio so they can still be heard when I switch to a BRB scene.

I went into the properties of my Alerts browser source and checked the box saying "Control audio via OBS" and then went to the Advanced Audio Properties and under Alerts, I set it to Monitor and Output in the Audio Monitoring drop-down. I then went to the OBS settings and into the Audio tab under Advanced, I set the Monitoring Device to VoiceMeeter VAIO3 Input.

However no matter which device I use, the audio glitches, causing stuttering and doesn't sound pleasant to hear at all. The issue resolves itself when I go back into the Alerts browser source properties and uncheck "Control audio with OBS". Once the audio is routing through my desktop again, the sound is perfect.

I've tried testing the other VoiceMeeter inputs I had, like the one I use for Discord, and the sound glitch still persists. I even tried running it through the Hardware Input 2 where my Soundboard goes, and it still glitched the audio.

The audio glitch only ever goes away when I disable "Control audio with OBS" in the browser's source for my Alerts. I even set the other VoiceMeeter inputs like AUX and VAIO3 as the default device temporarily and the sound was perfectly fine. It's only when I try to separate the Alerts audio with OBS that it glitches.

VoiceMeeter Issues:
I won't get into too much detail here, because I don't think it's to do with OBS, but in case it might be helpful to know:

I only have two current issues when using VoiceMeeter. One of them is this Alerts issue with OBS that is very new to me, and the other is when using Discord, my friend's audio that I hear seem to clip and peak a lot. I'm unsure if that problem is on Discord's end or VoiceMeeter's. All I know is that it happens with some friends and not with others, it usually happens with friends who have a more deeper voice.

I've tried countless fixes like multiple clean installs of both my OS and following detailed uninstall instructions on VoiceMeeter, changing the sample rates, bitrates, buffer, latency, make sure every device is using the same sample (which they do) and nothing seems to fix it. The only thing I can do is turn my friends down within Discord itself, and then crank up Discord's volume with VoiceMeeter. Because for whatever reason, if I turn their volume up in Discord, their mics constantly peak and clip, but when I turn them up in VoiceMeeter, it's not as bad. It's odd and it's an issue I've been struggling with for a long time that's only specific to Discord.

I can watch videos and listen to music with the volume very loud with no clipping whatsoever, but for whatever reason with Discord, I get audio issues.

The Solution?
Hopefully I've provided you with enough information to give you a start in what I could do to fix this strange audio issue with OBS I'm having. I don't understand how it can work perfectly fine with VoiceMeeter and my virtual audio cables, but as soon as I try to separate the Alerts in OBS, the audio stutter happens.

I've tried setting a FPS cap in the browser source for my Alerts to 30 and 60 but the issue still persisted. I tried creating a second Alerts browser to see if a newly made with default settings would fix it but that didn't work neither.


If there's anything else you need, please let me know. I could even make an audio recording of how the alerts sounds perfect when Control audio via OBS is disabled and then how bad it gets when enabled.

I'd really appreciate any help I can get, and thank you so much for reading. I hope you can help.
 
Last edited by a moderator:

cuppanoodle

New Member
An Update:

I have been able to bypass the issue by doing a some jury-rig solution to my on-going problem with enabling the "Control audio via OBS" checkbox under my Alerts browser source's properties causing the audio to glitch out.

So if anyone ever stumbles on this and the issue still hasn't been fixed, you can do this:

On Windows 11, if you right-click the speaker icon on the notification tray on the bottom left of the screen, you can select "Open volume mixer". It'll take you to System > Sound > Volume mixer in your Settings.

There you should be able to see a list of your current audio sources. Make sure OBS is running for it to appear there. Once you run OBS, you should see it among the list. If you click it, it should expand so you can now see the Input and Output. I changed the Output device to my desired Alert audio source, which was the VoiceMeeter VAIO3 Input that comes with VoiceMeeter Potato.

If you open up your alerts webpage that you use to test its function, in my case I opened up StreamElements webpage and emulated the follower event. After doing so, if you look back at your Windows Volume mixer, you should now see "obs-broswer-page.exe" listed. I also changed the Output device to VoiceMeeter VAIO3, since I was unsure which one needed to be set to it for this to work.

Anyway, once you do that, if you play your alerts, they should now be coming through the audio source you selected, and in my case, it was coming in clearly without any audio glitches which occurs when I enable Control audio via OBS.

I then added a new Audio Output Capture and called it Alert Sounds and set its device to VoiceMeeter VAIO3. Add that to your desired scenes you want your alerts to play in and voila, it should work perfectly fine.

All sounds OBS makes will now be routing to your desired device, however. I don't know if that makes much of a difference from using OBS to split the alert sounds or not, but it seems to be working fine for me in my test recordings.

I'm even more convinced that the issue I'm experiencing is on OBS' side, due to it working perfectly fine with VoiceMeeter Potato when I changed OBS' program defaults in Windows settings to the device I wanted alerts to go through, but causing the audio to glitch when I tried doing it the proper way.

I'm unsure why it's choosing to not work with my setup but working perfectly fine seemingly with the vast majority of people, however. Since I don't see anyone else complaining about Control audio via OBS causing audio glitches with alerts.

Hopefully the logs I left will help people with the technical know-how to figure out what the issue could be.
 

ctosfixer

New Member
just signed up to thank you for the solution.
I didn't even know u can add an audio device as a source.
many thanks <3
 
Top