All Sounds Play When OBS Is Launched

Allegromancer

New Member
Hi everyone! Hoping someone can help with a minor annoyance I've encountered when setting up OBS Studio.

I have several media files (sounds - wav files) set up as sources within a nested scene, so that I can put them in all my other scenes easily. This seems to work great overall, but one thing I noticed is that when I first launch OBS Studio, all my sounds will trigger at once. This would be before I start streaming so viewers wouldn't hear it, but it's still annoying and I suspect that there is a simple setting I have wrong that is causing this...just not sure what it is. I have "Restart playback when source becomes active" disabled for all the sounds. Any thoughts on how I can fix this?

Log file: https://obsproject.com/logs/wL7JMe5oWpvqaOFd
 

WBE

Member
Media files (audio and video) start playing when they become active. And your .wav files become active since they are in '[Nested] Sound FX' which is a subscene within the scene loaded at startup.

As far as I know there's no way to make a source active and not playing. What would be the point of that? And what would be the expected behaviour? Let's consider a video clip for argument's sake: would it be desired to have the very first video frame shown (frozen)? Then actually the playback has begun.

I guess you trigger the sound effects by Restart (either icon click or hotkey)? Hopefully they are not very long sound clips and then I guess you should take this behaviour for granted and have it part of your pre stream routine.

An alternative would be to have the sources initially hidden. Then the sound effects trigger would be to show (=activate) the source (eye icon click or hotkey). But the disadvantage is that you'd have to hide them again afterwards. Note that you then must have Restart playback when sources becomes active enabled.
 

Allegromancer

New Member
Thanks WBE! I see what you mean and it makes sense. Your assessment of how I'm using the sounds is accurate - I'm basically using the nested scene as a soundboard and I have each sound set to a restart hotkey. They are short clips - like 5 seconds or less each.

I agree that it's probably more trouble than it's worth to try to have the sources initially hidden, so I will just make this part of my pre-stream routine going forward as you suggested.
 

JKJACK

New Member
Hi everyone! Hoping someone can help with a minor annoyance I've encountered when setting up OBS Studio.

I have several media files (sounds - wav files) set up as sources within a nested scene, so that I can put them in all my other scenes easily. This seems to work great overall, but one thing I noticed is that when I first launch OBS Studio, all my sounds will trigger at once. This would be before I start streaming so viewers wouldn't hear it, but it's still annoying and I suspect that there is a simple setting I have wrong that is causing this...just not sure what it is. I have "Restart playback when source becomes active" disabled for all the sounds. Any thoughts on how I can fix this?

Log file: https://obsproject.com/logs/wL7JMe5oWpvqaOFd
Did you find a way to handle this?
 

obsuser2023

New Member
Media files (audio and video) start playing when they become active. And your .wav files become active since they are in '[Nested] Sound FX' which is a subscene within the scene loaded at startup.

As far as I know there's no way to make a source active and not playing. What would be the point of that? And what would be the expected behaviour? Let's consider a video clip for argument's sake: would it be desired to have the very first video frame shown (frozen)? Then actually the playback has begun.

I guess you trigger the sound effects by Restart (either icon click or hotkey)? Hopefully they are not very long sound clips and then I guess you should take this behaviour for granted and have it part of your pre stream routine.

An alternative would be to have the sources initially hidden. Then the sound effects trigger would be to show (=activate) the source (eye icon click or hotkey). But the disadvantage is that you'd have to hide them again afterwards. Note that you then must have Restart playback when sources becomes active enabled.
Even after untick "play source when active", all the audio will still play when OBS is launched.
 

Suslik V

Active Member
@obsuser2023 If you made unchecked Restart playback when source becomes active option then Media Source will always start during OBS launch (even when it disabled/invisible/not_in_the_current_scene). This is by design.

By the way, the Advanced Scene Switcher plugin has condition named "Media Source Ended" and action "Hotkey", the hotkey can be assigned to hide the media source or to switch to other scene. If you switch away from the scene - the source will become effectively not active (hidden).
It is wise to start OBS from almost empty scene and seamlessly (and temporary) switch to scene with sounds/media only when needed. Or keep your media sources hidden and Advanced Scene Switcher will hide them again after the playback ends (not just transparent but really hidden - by the eye icon).
 
Top