Question / Help Same music while changing scenes?

orboe

Member
Can you explain a little more what you mean? If the song is playing from your desktop audio source, it should continue to the next scene. How do you have this music configured to play?
 

mefinnigan

New Member
Right now, I have a created scene called Music; with a Media source called Background Music.

When I switch scenes, the music cuts off.

I want to be able to switch scenes while the music is continuously playing. How do you set it up?
 

orboe

Member
Is it music you can hear too or setup to only output to stream? As far as I am aware, when you make it a source and change scenes, it has to reload the file for the new scene. The only way that I am aware of to keep it playing where it was it to have it playing on your pc through your headphones/speaker output that way it is playing in the mixer area of obs. I could be wrong though. I have never personally attempted to do what you are trying. Is there a particular reason you have it as a source instead of just playing said music on your desktop?
 

mefinnigan

New Member
I just set it up as a source because I thought that's what you're supposed to do to get the music file into OBS.

I just need to know how to set it up so it continuously plays in a stream so I hear it and the audience hears it - while I'm switching scenes and it doesn't cut off.

Can you try to do it and let me know what you come up with? Thanks!
 

orboe

Member
Oh that is easy.

You do not use it as a source. So remove the source for the audio file. You will see to the right of the capture sources area at the bottom of OBS, directly to the right is an audio mixer. One of the audio sources there should be desktop. That source plays EVERYTHING you output to your default audio device (i.e headphones or speaker) to the strea. So if you open the music file in a program that you would use to listen to it normally (i.e VLC or Groove music), it will play for the stream.
 

mefinnigan

New Member
Interesting. Okay.

Is this correct?:

- Remove audio file source in OBS
- Open Audio Mixer
The Desktop Audio: Is that set to Monitor and Output?
- Install VLC
Play music file from there

Correct?
 

orboe

Member
So the Desktop Audio in the mixer should by default be outputting to stream. So for now, without touching it, just remove the source for the audio file and play the music in VLC. Do a test run of that and report back here with the results if it does not work.
 

mefinnigan

New Member
The results did work so thank you. However, there is no slider in the mixer to turn down the volume nor is there one in the VLC program. I guess I can turn down the song volume with my main monitor volume control but that means I'll have to crank up my audio mixer and hope enough volume comes through without adding gain.
 

orboe

Member
You can turn down the volume in both obs and vlc. Vlc had a triangle shaped green bar on the bottom that lets you change volume. You modify it in OBS by moving the slider in the audio mixer.
 

Harvey S

Member
Another way is to copy and paste the source with the music in to the next scene. that way you have the volume slider in the mixer. you can do the same with video sources
 

mefinnigan

New Member
I guess with my version of VLC, you use Ctrl + Add to increase the volume and Ctrl + Subtract to decrease the volume. That works. I never found a triangle shaped green bar on the bottom.
 

mefinnigan

New Member
Another way is to copy and paste the source with the music in to the next scene. that way you have the volume slider in the mixer. you can do the same with video sources
What exactly do you copy? Right click on the music file that's in VLC and paste it how? Thanks for your patience.
 

Harvey S

Member
okay let's say you have two scenes will call them scene 1 and scene 2.
you have music that plays in scene 1 but you wanted to keep playing when you transition to scene 2.
In OBS take the source of the music in scene 1, copy that source and paste it into scene 2 .
then when you transition between the two scenes that same source is there and it will continue to play.
 

DJ Antix

New Member
Another way is to copy and paste the source with the music in to the next scene. that way you have the volume slider in the mixer. you can do the same with video sources
I have the same issue and tried this method....audio still drops out. I use the platform to stream my DJ sets and want to have scenes to be more interactive and keep things interesting.
 

Dihelson

Member
Just play the music in VLC and add the "desktop source" to the OBS mixer. You will see the desktop led strip blinking. Everything which is played on your computer can be streamed through this method.

You can insert an "output desktop source" to the OBS mixer using OBS sources. There is an option for that.
 

Virtualdjlefave

New Member
Could you not just create a "Soundboard" scene that has all of your sounds as media sources then nest that scene as a source in all of your other scenes? This way, once you activate the source in the Soundboard scene with a hotkey or stream deck it would carry across to all of your other scenes? I haven't tried this yet with audio, but it works great with my scrolling text that I have at my footer.
 

t-m2495

New Member
Hey, made an easy go around through Scene, not sure if this would work with you

1. Make Scene - insert your audio track as Media Source.
2. Tick Loop and Show Nothing when Media Ends
3. Make Sure you project Through Monitor and Output
4. Add this Scene as Scene Source in all your other existing scenes - the audio just layers in, change scenes, it just is your bed track

Hope this helps
 

sorbie123

New Member
Here, try this.

1. Make sure you insert your media source and your mp3 or mp4 file here.
2. Open it's source properties.
3. Untick "Restart playback when source becomes active".
 
Top