Spurred on by PatrickChamp over in the XSplit Discord, I’ve had some fun trying to work it out as it’s an interesting case.
How to listen to Spotify while pumping royalty-free music to stream
The idea is to be streaming your game, Discord audio and your own microphone audio normally, but have different background music for yourself and your viewers. Using Spotify as your background music will guarantee you a copyright hit, but let’s say you want to listen to your usual jams but your stream gets safe tunes.
What you need
- Spotify (could be iTunes or whatever you use for music)
- VoiceMeeter Banana
- Your royalty-free music
Install VLC if you haven’t yet, you’ll use this as your playlist/player for all the royalty-free music you downloaded.
You’ll need VoiceMeeter Banana (VMB) to take advantage of it’s virtual audio devices and routing. Once you install VMB check that you have the following new Output Device in Windows Sound Settings:
- VoiceMeeter Input (VB-Audio VoiceMeeter VAIO)
- VoiceMeeter Aux Input (VB-Audio VoiceMeeter AUX)
- VoiceMeeter Input (VB-Audio Virtual Cable)
How to set it up:
- Open VoiceMeeter Banana to get it’s routing working
- Set your Windows Output Device to
VoiceMeeter Input (VB-Audio VoiceMeeter VAIO)
- Open VLC, add your royalty-free music and then go to Audio > Audio Device and select
VoiceMeeter Aux Input (VB-Audio VoiceMeeter AUX)
At this point you’re not hearing anything because Windows and VLC are outputting to virtual devices, not your headphones. We’ll fix that in the next step.
- Go to VBM and check the Hardware Out section.
- Set A1 to your headset (Realtek HD Audio in my case). Make sure to select the one that says MME and not WDM.
- Set A2 to VoiceMeeter Input (VB-Audio Virtual Cable), same as the other one choose MME and not WDM.
Now you have your split, any audio routed to A1 will be heard on your speakers or headset, audio routed to A2 will be heard only by stream.
Check the Virtual Inputs to the left of the previous section. Remember when we set Windows to VoiceMeeter VAIO and VLC to VoiceMeeter AUX? This is where you’ll control their routing.
Because we want Windows’ audio (the game, Discord, your browser, anything really) going to stream as well as your headphones, set it to output to both by clicking A1 and A2 next to the fader. By this point, you should now be hearing your desktop audio again as the VAIO device is now routing to your headset in A1.
Now VLC won’t be heard, because you’ve set it specifically to output to the AUX device, set that to output to only A2. You won’t hear it on your headset but your viewers will.
At this point you’re set, but wait what about Spotify? If you play it now, it’ll emit audio through VAIO and be heard in both A1 and A2. We’ll fix that now.
- Right click on the speaker icon in your system tray and click on Open Sound settings. Click on
App volume and device preferencesunder Advanced sound options.
- Look for Spotify, and set it’s output to be your Headset or Speaker device directly instead of default.
What this does is Windows will still output to Voicemeeter VAIO and go through the routing we did, but Spotify will output directly to your headset. Only you can hear it.
Final step is to go to XSplit Broadcaster and set our devices up.
- Set your System Sound device to
VoiceMeeter Input (VB-Audio Virtual Cable)
And that’s it. You can play your game, listen to Spotify or iTunes as normal, talk to your friends on Discord. Except because of our routing, your stream can’t hear your music application and instead, hear all the lovely royalty-free music you’ve set up in VLC as the background music in the stream.