PDA

View Full Version : [TUTORIAL] Using Virtual Audio Cable to add ambient music & noises to Teamspeak gamin



Blacky
January 26th, 2014, 14:45
This is a detailed tutorial on how to add ambient music & noises to your vocal roleplaying games on Teamspeak under Windows. It may seem somewhat complicated, it's not at all.

The main goal is to have two audio inputs, two Windows microphones if you will. One for your voice (your “real” physical microphone), and one for your music (usually a virtual one). Then double connect to Teamspeak using a voice identity & settings, and a music identity & settings. To do this under Windows, by far the simplest solution for most people is to use Virtual Audio Cable (or VAC). It's a small program that can create virtual connexions between audio inputs&outputs exactly the way you like. It's extremely powerful (and complex for complex usage), but for our use it's extremely simple. If you have a good audio card (probably mid to high-end dedicated audio card, forget any Realtek motherboarded chipset), with good drivers, VAC may not be necessary… in that case you'll need to read the full documentation of your audio card, and check it out yourself.

You can check out Virtual Audio Cable here, and start by using the trial version. As recommanded by the author, it ensure it will work on your system the way you want. If all is good, you can then buy the full version (yes it costs a few bucks, as all good things do).

For the record I'm using Teamspeak 3.0.13.1 (latest stable version at this time) here, but nothing should change much in the upcoming versions.

Step 1: installing Virtual Audio Cable

Just download and install it using default options. It's very fast and very easy, and should create by default a new (virtual) audio device in your Windows, called Line1.

Here's the defaut VAC control panel with this Line1:

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=5942&d=1390745527

You can check your Windows Audio control panel, a new cable (or device) should appear as Line1. No need to select it, keep your own configuration as it is.

Optional but good: in the same Audio control panel, under the Communication tab, there's an option for Windows to adjust your global audio levels when VOIP is detected. I suggest the Do nothing option to avoid troubles and keep volume at your sole hands.

Step 2: Teamspeak new capture profile

Open Teamspeak, go to menu Settings then Options then Capture. This is where you define anything related to how Teamspeak capture your audio (hence the name) to send it to the server.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=5943&d=1390745553

There you have your usual Default profile, probably for your own voice microphone. Don't touch anything.

But do create a new profile (green + at the bottom), call it whatever you like but something you'll remember (I use VAC musique here). Then edit its details (options) to those settings:

Capture device: Line1 (that's the big deal right here, and why we needed VAC in the first place)
Continuous Transmission (we don't want Teamspeak trying to detect the music, just push it through all the time)
And nothing else (no echo reduction, and in the Advanced options nothing here too, this is clean audio files we're going to push through here not some badly recorded human voice).


Then OK to save this.

Step 3: Teamspeak new identity

In Teamspeak, go to menu Settings then Identities. Again a default identity is here with your own settings, don't touch it. Do create (Add+ on the top left) a new one with any name you'll remember (again I use VAC musique here in my screenshots).

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=5944&d=1390745570

So give this new identity any name you'll like, and if you want under nickname choose one that will tell your player what this is (we all know players are so easily confused, poor little things).

Step 4: Teamspeak new bookmark

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=5945&d=1390747396

In Teamspeak, go to menu Bookmarks then Manage Bookmarks. There you have all your favorite servers, with IP, password and such recorded. Now, you'll need to do this for any TS Server you'll which to double connect with your new music identity&settings (but TS make this is, a right click on any bookmark allows you to duplicate it, then you'll just have to change the IP & password and little things like that for your new server).

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=5946&d=1390747414

I'm going to use the Fantasy Ground Euro community server as an example here. I'll duplicate it with right click, and then:

Label: add something meaningful so that you'll remember this bookmark is for audio ambience.
Keep the same address and password, obviously.
Identity: switch to your new VAC identity
Capture Profile: switch to your new VAC capture profile
Playback profile: none (otherwise you're going to have a double echo, since both your TS identity will playback things for you)
Hotkey Profile and Sound Pack: none (optional but recommanded, you don't want a hotkey affecting both your profile probably, but you can edit it as you see fit).


Then Apply to save the new bookmark.

And that's it for the “complicated” part. Now when you connect for your gaming night, you just have to connect twice, once with your default TS profile and a second time with your ambient music profile.

The big advantages of that method: no echo or weird sound bugs, anyone can idependently adjust the volume of your voice and your ambient music separately on his own without asking for you to adjust volume, if necessary a player can mute your music.

Step 5: using a music player to push sounds

Now that's nice you have a new compadre in your TS channel for ambient music & noises, but it doesn't do much. You need a software, an audio or music player for example, to push sounds through it. That's easy, any decent software will do. The only requirement is that this software needs to have some kind of Audio Output Device setting. Meaning, you need to be able to tell the software to use Line1 as its audio output and not your physical headset (or speakers if you're a barbarian).

A lot of them do. I believe several mixing softwares, several dedicated ambient and athmosphere audio for RPG do it. Forget Windows Media Player (what are you doing using this anyway?!), but VLC does it, Media Player Classic does it, Foobar does it, etc. No your web browser doesn't.

Myself being lazy and still haven't explored the dedicated multi-tracks ambient rpg softwares uses, I use Foobar. It has the big disadvantage of not being libre and open sourced. But it's good, it's free. And it has the very great advantages of being portable, meaning you can install it several times in different locations and launch it several times. I use this to push two tracks for my players: one is music, one is ambient sounds (like night forests sounds, rain, wind, etc.) And it doesn't screw around with my own MPC&VLC audio player I use for everything else. But there's a lot of ways of doing that better.

So all you have to do in your audio player, is to select Line1 as his Audio Output Device (exact name can change from software to software). Now play something in it, you won't here anything. But connect your two identities to a TS server, and now you will here it (as will anyone who is connected to your TS channel).

Of course, the audio quality won't be great, this is Teamspeak we're speaking about (could be worse, could be Skype). And you'll lose stereo. And anyways you're probably using MP3s, which aren't great in the first place. Still, I do strongly suggest using a TS channel with the Opus codec used, especially the Opus Voice with decent quality settings. It should be quite enough for a rpg gaming night, whereas voices are more important than HiFi music.

seycyrus
November 10th, 2014, 01:45
Blacky,

I've been using this for a while now, and it's great.

I was wondering, can you use teamspeak with VAC, to whisper an audio track to a single person?

Blacky
November 10th, 2014, 02:13
In theory nothing should hinders this yes.

xcmkerr
January 8th, 2015, 03:02
Hey Blacky,
First off, thanks for this.
I'm having some troubles, and I don't know if I'm just being an idiot or what, but I'm hearing an echo of myself when I speak in the mic. Any idea what's causing this?
Cheers

JohnD
January 8th, 2015, 04:04
Holy Crap.

Blacky
January 8th, 2015, 04:41
I'm having some troubles, and I don't know if I'm just being an idiot or what, but I'm hearing an echo of myself when I speak in the mic. Any idea what's causing this?
Specifically when using this setup with VAS/Teamspeak? Or any other time?

xcmkerr
January 8th, 2015, 04:44
Nevermind, I just muted audio out from the music ts profile and voila.

Blacky
January 8th, 2015, 05:03
Ah, yes you'll need to stop the playback from the music TS profile/identity.

Zacchaeus
October 16th, 2015, 19:23
Does anyone (I know at least one person does becasue I saw them post on the Syrinscape forums) use Syrinscape? If so how do you get it to play into line 1? I've only got the demo version of it but I can't see any option that would tell it to play through line one. Or, maybe that's becasue I haven't set up a VAC yet? Not really wanting to buy a bunch of stuff only to find that it won't do what I think it will do.

Trenloe
October 16th, 2015, 19:29
Does anyone (I know at least one person does becasue I saw them post on the Syrinscape forums) use Syrinscape? If so how do you get it to play into line 1? I've only got the demo version of it but I can't see any option that would tell it to play through line one.
Yeah, I use Syrinscape. I set the default playback device for the whole computer to be Line 1. Then everything on that computer will play through line 1 by default (unless an individual app overrides that). You might need to restart the application to pickup the default playback device setting if you change it.

Zacchaeus
October 16th, 2015, 19:36
Em, but if you set everything through line 1 won't you lose all of your other sounds for everything and also the main voice for TS; or am I misunderstanding what you are saying. This is all on one computer I should say and following the guide above I only need to set up line 1 for this specific thing. Right?

Trenloe
October 16th, 2015, 20:01
If you're running this all on one computer then yes, anything that you can't individually control it's output will go to line 1 and be transmitted by the sound effects/music portion of TeamSpeak. If you're using two TS instances, you can control where the main (GM) TS instance sends it's sounds - so that's OK. If you're playing music/SFX as well, then there's probably not many (if any) other sounds you'll want to listen to on your computer. Or see if an individual app has the ability to specify it's output.

Or, if you have an old laptop lying around, use that just for TS and your music/SFX. This is what I do.

Zacchaeus
October 16th, 2015, 20:09
Thanks, Trenloe. I think you have answered my question. I'll play around with all of this after FGCon, since this Syrinscape thing looks pretty cool. I'm not a music lover so I have virtually no suitable music that I could play even if I wanted to. I can't really see The Beatles White Album or Abba's Greatest hits being at all useful, but the stuff on Syrunscape seems pretty good for just a few pounds a month.

Trenloe
October 16th, 2015, 20:28
I'm not a music lover so I have virtually no suitable music that I could play even if I wanted to. I can't really see The Beatles White Album or Abba's Greatest hits being at all useful...
I look out for games on special offer on GoG and see if they include the soundtracks as an extra. For example, for $5.99 you can get Temple of Elemental Evil (https://www.gog.com/game/the_temple_of_elemental_evil)that in the "included goodies" section mentions "in-game soundtrack". For this you get 54 MP3 files (although only 25 are probably usable as background music), from location background music to combat tracks. Keep an eye on GOG, they usually have the D&D games on special a few times a year - great music to have looping in the background.

For spooky locations look up the group Midnight Syndicate - their albums are great for horror/spooky locations, and their D&D album (yes, they did an official D&D background music album) is very cool.

Although, I think "Dancing Queen" could be used a few times too! :)

Zacchaeus
October 16th, 2015, 20:33
Heh! Never thought of that I have all of the GoG (well most of them anyway) games and oh, look there's the music files right there on my hard drive :)

seycyrus
October 16th, 2015, 22:52
I think you guys have got this figured out, but just in case... I use Syrinscape, TS, Audacity, and soundplant. VAC has its own channel to teamspeak.

Syrinscape will use whatever is set as default, when it is started up, until you shut it down as its output. So, I set VAC as default, start Syrinscape. Then I reset the default to my normal headset, and start up teamspeak as normal.

Trenloe
October 16th, 2015, 22:55
Syrinscape will use whatever is set as default, when it is started up, until you shut it down as its output. So, I set VAC as default, start Syrinscape. Then I reset the default to my normal headset, and start up teamspeak as normal.
Ah, yeah - good idea. Just remember to have set as default what you want before you start an app - and if you have to restart the app later, use the same settings.

Mellock
October 17th, 2015, 23:28
Thanks, Trenloe. I think you have answered my question. I'll play around with all of this after FGCon, since this Syrinscape thing looks pretty cool. I'm not a music lover so I have virtually no suitable music that I could play even if I wanted to. I can't really see The Beatles White Album or Abba's Greatest hits being at all useful, but the stuff on Syrunscape seems pretty good for just a few pounds a month.

I've cobbled together a screenshot of some rpg music I've collected over the years. Perhaps it can give you some ideas. Most of it comes from iTunes. There is an internet radio station that plays non-stop rpg-music at https://www.radiorivendell.com/ too.

11377

Zacchaeus
October 18th, 2015, 15:37
I've cobbled together a screenshot of some rpg music I've collected over the years. Perhaps it can give you some ideas. Most of it comes from iTunes. There is an internet radio station that plays non-stop rpg-music at https://www.radiorivendell.com/ too.



Thanks Mellock that's pretty impressive. I think it's the sound effects I'm going for though; music is too intrusive for me.

Dr0W
October 20th, 2015, 01:07
Thanks a lot for the tutorial, I'm not using it for continuous music playing but it works like a charm to play some sounds during gameplay. Just scared my girlfriend with a zombie moaning on teamspeak :D

Zacchaeus
October 25th, 2015, 23:38
Ok, so I've set up VAC and duplicated a bookmark and set up a second identity. The question now is how do I connect twice? I connect as normal and then connect with the duplicated bookmark but that disconnects the first connection replacing it with the second connection. I don't see any option anywhere else which would enable me to connect twice.

Trenloe
October 25th, 2015, 23:45
I don't see any option anywhere else which would enable me to connect twice.
https://www.fantasygrounds.com/forums/showthread.php?21678-tableopaudio-com-Free-background-music-ambiance-for-your-gaming&p=181792&viewfull=1#post181792

Zacchaeus
October 25th, 2015, 23:54
Cheers Trenloe, I'll give that a go tomorrow.

Dr0W
October 26th, 2015, 00:18
Ok, so I've set up VAC and duplicated a bookmark and set up a second identity. The question now is how do I connect twice? I connect as normal and then connect with the duplicated bookmark but that disconnects the first connection replacing it with the second connection. I don't see any option anywhere else which would enable me to connect twice.

Middle mouse click the bookmark.

Edit: yet I've checked trenloes solution to run two instances of teamspeak and I see no point in doing this when you can simply open two tabs in a single instance.

Trenloe
October 26th, 2015, 00:26
Edit: yet I've checked trenloes solution to run two instances of teamspeak and I see no point in doing this when you can simply open two tabs in a single instance.
The issue here is that two tabs don't provide full transmitting from both tabs - when you move from one tab to another it put the other tab on mute. So, using tabs doesn't allow you to speak *and* transmit music/SFX at the same time.

Dr0W
October 26th, 2015, 00:28
The issue here is that two tabs don't provide full transmitting from both tabs - when you move from one tab to another it put the other tab on mute. So, using tabs doesn't allow you to speak *and* transmit music/SFX at the same time.

It certainly does work for me, but I'll have it tested later.

Trenloe
October 26th, 2015, 00:40
It certainly does work for me, but I'll have it tested later.
Steps on how to do this would be great. Whenever I activate one microphone it automatically deactivates the other:

https://dl.dropboxusercontent.com/u/39085830/Screenshots/Fantasy%20Grounds/TS%20Tabs.jpg

Are there some cunning settings that allow both microphones active at the same time?

Dr0W
October 26th, 2015, 00:57
Can't access my computer right now because we're using it to watch star wars (technically). What I can think of right now is that differently from this tutorial I didn't set up my VAC profile to continuously upload sound because my initial intent wasn't to use background music but to use a soundboard and play sounds from time to time, but music plays fine, so the VAC does use voice activation to send sounds. Will check this precisely later.

Dr0W
October 26th, 2015, 03:16
11472

As you can see both "microphones" work at the same time. I've done some testing and it does work even if one is using continuous transmitting. What it seems to me is that you're using the same microphone on both the profile that you use to speak and the profile you use to output music and indeed it doesn't work. But if the tutorial is followed you use Line1 for the second profile (not your mic), so both can be active at the same time without a problem.

JulioIP
October 26th, 2015, 05:22
On Using syrinscape, i use the same method Trenloe does. I also create a webpage to organizes my sounds, its kinda difficult to organize the sounds the way i want in Syrinscape but if you use a webpage you can copy the link from syrinscape (3rd party app under settings) then if you have syrinscape open when you click on the link in the webpage it will work. A good way to organize the sounds.

seycyrus
October 26th, 2015, 12:31
Ok, so I've set up VAC and duplicated a bookmark and set up a second identity. The question now is how do I connect twice? I connect as normal and then connect with the duplicated bookmark but that disconnects the first connection replacing it with the second connection. I don't see any option anywhere else which would enable me to connect twice.

Connect the first time using your bookmark. For the second instance (Music), do not use the bookmark. Go to Connect -> In New Tab.

Zacchaeus
October 26th, 2015, 12:41
Connect the first time using your bookmark. For the second instance (Music), do not use the bookmark. Go to Connect -> In New Tab.

Yes, I discovered this but every 10 seconds the lassie's voice comes on saying 'trial' or some such which is clearly unacceptable.

Zacchaeus
October 26th, 2015, 13:30
Ah, wait. The 'Trial' is from the trial version of VAC.

Zacchaeus
October 26th, 2015, 14:14
Ok, looks like both Trenloe's method and the method of using tabs work. It's all cool and everything :)

Galach
August 13th, 2016, 20:41
Hello everyone.

Does anyone knows if it is possible to make something similar to this with Discord app?

Discord is new, free application for audio conference; we are using it to communicate on our Lord of the Rings Online Kinship, and audio quality is far better than TS.

Additionally, the devs are planning to add video conference to it very soon, so it will be an *** kicking application in the near future.

If I could use a soundtrack solution similar to this one, it would be awesome.

=)

Galach
August 14th, 2016, 02:55
Well, forget about it.

I managed to set up it, but the sound quality is... insufferable.

Setting the VAC output to other sources than Discord, the sound quality is good.

I think it is something with the codecs used by Discord. I will try to set up a TS config, and see what happens.