Audio input source: still plays through even if not in scene

twindux

Member
So I'm messing with various Audio Input Sources being added to scenes. One would think that if an Audio Input Source is NOT in a scene, its sound would not play in the stream. But that does not seem to be the case.

I have a situation where I'm running videos from an external computer that are injected into by OBS computer via an Elgato card. I'd like, whenever I switch to this scene, that the audio from the House Sound System (an audio input source that comes directly in via line out> USB audio device from our house PA) be muted or removed, and let only the video from the external computer play.

However, even with the House Sound NOT in a scene, its sound still plays though....unless I manually mute it when I leave the scene it was previously "showing' in.

I know I can add both audio sources to all scenes the manually manage the muting of each, but it would be really slick if when an audio source is NOT in a scene....it would not play.

Am I messing up? Or is this expected behavior?
 

twindux

Member
I have disabled all Mic/Aux sources. So I created an audio input source called "house sound" that comes in via my USB audio source, and another audio input source called "presentation sound" which comes from the external Mac via HDMI from the Elegato.

I have ONLY the audio source I want to play within each scene.

but unless I explicitly mute a source BEFORE I leave the scene it's playing/showing in, it keeps playing when I switch scenes even if the source is omitted.

Or it's user error and I'm not doing what I think I'm doing!

Do I need to have both sources IN the scene but one of them turned off within the scene (eyeball icon dimmed)?
 

some108

New Member
I'm having the same issue...

All global devices disabled, but still the mic from one scene is heard in other scenes... even when showing as inactive under Advanced Audio Properties.
 

Massimiliano85

New Member
Good evening,
I have the same problem, the incoming audio remains active even if the source is not present in the scene.
I have made many attempts but cannot resolve.
 

BarnTheatre

New Member
I have just found this thread. I have the same issue and have just raised another forum thread also to try and get a resolution...
 
I have been searching for a solution for this exact problem.
It appears as if only line and mic default inputs respond to being disabled. USB audio sources and HDMI audio does not seem to work with auto muting when you follow the steps and remove them from scenes as well as disabling all audio in main settings. They still can be heard in your output mix regardless of whether they are in the scene or not.
The short term solution I am using to at least streamline the transitions between scenes is I went to Keybinds and found my House Feed. I bound Mute to "z" and Unmute to "x". This at least gives my operator a fast mute/unmute while they are clicking to the new scene. It will also mute/unmute even when in a scene that House feed is not shown in the mixer. If you have even more inputs you can bind each one to more keybinds, and then have the ability to quickly toggle different audio sources on/off.
I definitely want a better solution. It seems logical that if a source is not in a scene it should not show or be heard but for whatever reason USB audio does not follow that. Like OP said though I could just be doing it wrong... With me that is always a likely option.
Would love to hear if there is a Plug-in or inbuilt solution to this issue.
 
Solved
Sure enough, I was doing it wrong...
Go to Master Settings and Audio tab. Disable all Global Audio channels.
Go to the scene you want and remove any unwanted inputs.
Start a test stream and switch between scenes with audio coming out of House feed. One scene with it and one scene without it.
You will clearly hear (on any separate device like a phone or other computer) that the house feed goes away in the scenes without it.
If you want to check on the computer you are streaming from you have to:
Click on your House feed in a scene that has it, and choose advanced audio properties and change the settings to Output only. (No monitoring) because what you were hearing is actually the monitor Output. Not the streams output.
 

twindux

Member
Solved
Sure enough, I was doing it wrong...
Go to Master Settings and Audio tab. Disable all Global Audio channels.
Go to the scene you want and remove any unwanted inputs.
Start a test stream and switch between scenes with audio coming out of House feed. One scene with it and one scene without it.
You will clearly hear (on any separate device like a phone or other computer) that the house feed goes away in the scenes without it.
If you want to check on the computer you are streaming from you have to:
Click on your House feed in a scene that has it, and choose advanced audio properties and change the settings to Output only. (No monitoring) because what you were hearing is actually the monitor Output. Not the streams output.
I SWEAR I had done that and got sound from an audio source not in the scene into the stream, but perhaps I had NOT turned off the monitoring. I'll try it again...
 

some108

New Member
because what you were hearing is actually the monitor Output. Not the streams output.

yes, it is the monitor. but that is still an issue.
if using obs as an input to google meet or zoom, then the problem is still there because we have to use monitor output.
this issue is not there on windows. just mac. seems like a bug to me.
 

nottooloud

Member
this issue is not there on windows. just mac. seems like a bug to me.
Oh man, this issue has been bugging me all along. Never thought to try the other platform. You're right, the monitor mutes on Windows if the input isn't in the scene. Stays live on Mac.

Bug.
 

Overkill001

New Member
The main origin of confusion when it comes to per-scene audio sources is that OBS includes your system microphone and system speakers -- and possibly other sources it finds when it is first installed -- in the list of Global Audio Devices within its settings. Global Audio Devices are persistent: They show up in the Audio Mixer window with every scene whether you want these sources or not. Muting a device in the Global Audio Devices list mutes it for all scenes thereafter; unmuting it unmutes it for all scenes thereafter. You can't control them per scene.

If you want to control these same audio devices per scene (or just generally want better control over per-scene audio), go to Settings>Audio. Look for the "Global Audio Devices" category and disable those for which you want per-scene control. You can choose to keep or select a specific audio source if you are absolutely sure that's a source you want to ALWAYS be there for your entire production. Disable them all if you want absolute control over your per-scene audio. After clicking "Apply" or "OK", you'll be returned to the main interface and you'll notice that your Audio Mixer will then only show audio from sources added to that scene, such as a video camera, webcam, or video clip. Those that were previously a Global Audio Device that was disabled in Settings will have disappeared. A fresh scene with no sources will have a blank Audio Mixer, or will only have the global audio sources you chose to keep.

Then, to add discreet audio sources per scene, choose a scene, click on + under the Sources window.

Add an "Audio Input Capture" if you want to use an external audio source, such as a microphone, audio deck, or similar device. Give it a name for use with OBS (for example, "Microphone"). After giving it a name, you'll be prompted to choose the actual input device you want to use (in this example, presumably your PC's audio-in jack into which a microphone is plugged); "Default" will choose whatever you've set up as your operating system's default audio input (usually the audio-in jack). This audio input can then be added to each individual scene (or individually removed if later unwanted).

Add an "Audio Output Capture" if you want to use an internal audio source, such as the motherboard's built-in audio-out jack, a sound card, or external display with audio connection (such as an HDMI-connected monitor). Give it a name for use with OBS, (for example, "Desktop"). After giving it a name, you'll be prompted to choose the actual output device you want to use (in this example, presumably your system speakers if you just want OBS to re-transmit audio that's playing on your computer, such as a music app, or sounds from a Zoom meeting that you want to stream). "Default" will choose whatever you've set up as your operating system's default audio output (usually the system speakers). This audio output can then be added to each individual scene (or individually removed if later unwanted).

Note that if you've kept one or more Global Audio Device, the Audio Mixer will display it along with all other per-scene audio, so it may be confusing to differentiate in a pinch. Pro Tip: Disable all devices under "Global Audio Devices" in settings unless you absolutely know what you're doing.

Honestly, OBS should have just disabled all Global Audio Devices by default to avoid this confusion.
 
Last edited:

twindux

Member
The main origin of confusion when it comes to per-scene audio sources is that OBS includes your system microphone and system speakers -- and possibly other sources it finds when it is first installed -- in the list of Global Audio Devices within its settings. Global Audio Devices are persistent: They show up in the Audio Mixer window with every scene whether you want these sources or not. Muting a device in the Global Audio Devices list mutes it for all scenes thereafter; unmuting it unmutes it for all scenes thereafter. You can't control them per scene.

If you want to control these same audio devices per scene (or just generally want better control over per-scene audio), go to Settings>Audio. Look for the "Global Audio Devices" category and disable those for which you want per-scene control. You can choose to keep or select a specific audio source if you are absolutely sure that's a source you want to ALWAYS be there for your entire production. Disable them all if you want absolute control over your per-scene audio. After clicking "Apply" or "OK", you'll be returned to the main interface and you'll notice that your Audio Mixer will then only show audio from sources added to that scene, such as a video camera, webcam, or video clip. Those that were previously a Global Audio Device that was disabled in Settings will have disappeared. A fresh scene with no sources will have a blank Audio Mixer, or will only have the global audio sources you chose to keep.

Then, to add discreet audio sources per scene, choose a scene, click on + under the Sources window.

Add an "Audio Input Capture" if you want to use an external audio source, such as a microphone, audio deck, or similar device. Give it a name for use with OBS (for example, "Microphone"). After giving it a name, you'll be prompted to choose the actual input device you want to use (in this example, presumably your PC's audio-in jack into which a microphone is plugged); "Default" will choose whatever you've set up as your operating system's default audio input (usually the audio-in jack). This audio input can then be added to each individual scene (or individually removed if later unwanted).

Add an "Audio Output Capture" if you want to use an internal audio source, such as the motherboard's built-in audio-out jack, a sound card, or external display with audio connection (such as an HDMI-connected monitor). Give it a name for use with OBS, (for example, "Desktop"). After giving it a name, you'll be prompted to choose the actual output device you want to use (in this example, presumably your system speakers if you just want OBS to re-transmit audio that's playing on your computer, such as a music app, or sounds from a Zoom meeting that you want to stream). "Default" will choose whatever you've set up as your operating system's default audio output (usually the system speakers). This audio output can then be added to each individual scene (or individually removed if later unwanted).

Note that if you've kept one or more Global Audio Device, the Audio Mixer will display it along with all other per-scene audio, so it may be confusing to differentiate in a pinch. Pro Tip: Disable all devices under "Global Audio Devices" in settings unless you absolutely know what you're doing.

Honestly, OBS should have just disabled all Global Audio Devices by default to avoid this confusion.
Appreciate that, but my issues occur even with all clocks audio sources disabled/nit defined.
 

Overkill001

New Member
Ack, sorry, I had intended to post this on another thread that was open in another window. >_< My bad. Feel free to delete my reply, as I can't seem to delete it myself at this point.
 

Zatara1203

New Member
I am having a similar problem. I am using a Mac with an NDI input (Mevo Start camera) into OBS. When I show a basic image background scene, the sound from the camera, even though it is in a different scene, is coming through. I am using Zoom so I am using monitor mode with a virtual audio cable that Zoom can use as its input. And like everyone else, all my Global Audio settings are disabled.
 

techieSloth

New Member
Exactly the same issue here. I setup OBS for the 1st time last night to be used with Zoom. I have a main scene with mic and video setup and a 2nd scene that I want to use when I'm AFK, which doesn't have any sound source and only a static image. As with everyone else all my global audio settings are disabled.

Interestingly when I did a test recording in OBS and switched between scenes the audio is muted as expected. The issue comes in with Zoom, which still registers audio no matter the scene. JFYI I tried with both VB-CABLE Virtual Audio Device and Blackhole as virtual audio cables and the behavior is the same.

Has anyone logged a bug for this?
 
I suspect that the current monitoring setting also applies globally, so I tried to install the above plugins (Audio Monitor) https://obsproject.com/forum/resources/audio-monitor.1186/updates#resource-update-3451
After that I turned off all monitoring settings in Advanced Audio Properties and setup Audio Monitor filter for each audio input.

Did a small test to Google Meet, unfortunately since I am the only participant I can only see the visual indicator for sound coming into Google Meet turned off when I switch to another scene that have no audio input.
 
Top