Robot-Girl-Art-2560x1440

TeamSpeak 3: The Music Bot

I decided the other day that I wanted to put a music bot on our TeamSpeak 3 server, specifically on our Guild Wars 2 channel so we can have a little oontz-ootz and wub-wub to go along with our shenanigans.  As it turns out, it isn’t as straight forward as you’d expect.  In light of that, this article aims to provide a very quick tutorial on how to get a basic music bot pumping up the jams on your TeamSpeak channel.

To start, you’re going to need a few pieces of software.

1. A TeamSpeak 3 client installer.

2. WinAmp

3. Virtual Audio Cable (VAC)

4. A good playlist that will impress your friends and piss off your foes.

Installing TeamSpeak 3 Client Software

The client install requires you to install TeamSpeak 3 twice on your machine, assuming you plan to run the bot from the same computer you plan to actually use for chatting it up with your homey’s in your favorite channel.

To accomplish this, simply install the client twice.  When asked for a destination location on the second installation, choose a different directory.

Next, copy shortcuts to the client out to your desktop and name them appropriately.  I named one for my bot and one for normal usage. The key thing to do here is to modify each shortcut and add -nosingleinstance to the target path.  This will ensure each TS client instance is launched with their own settings, this is important for what we have to do after configuring VAC.

Installing VAC

This should be straight forward.  Run the installer, then reboot your computer.  After you reboot, launch the VAC control panel from the start menu and you should see that you have 1 cable already configured.  If not, set one up according to the image below.

VAC-CP

Configuring the TeamSpeak client for your bot

We need to configure the audio settings on your music bot, so start up the correct TS3 client that’s going to be logging your music bot into whatever channel you want to rock the llama’s ass on.

Go into settings->options->playback and make it look like the following image.  We are effectively shutting off the playback because with a bot it’s pointless and you run the risk of feedback and echos.

TS3-Playback

Finally, you want to configure the capture side of things for your funky chicken music bot.  The key here is to change the Capture Device to use Line 1 (Virtual Audio Cable). Then, you can either choose to use continuous transmission or change the voice activation detection down to -50db.  In either case, this places no restriction on the audio coming through Line 1.  This also prevents any input going to this bot from your microphone.

TS3-Capture

Configuring WinAmp

I recommend using WinAmp for playing back music for a number of reasons, but primarily because you can change the output to use VAC. This is really easy to do by going into options->preferences->plugins->ouput

WinAmp-Preferences

Then choose Nullsoft WaveOut Output v2.17(d) as show above and click configure.

WinAmp-OutputSettings

In the device drop down, choose Line 1 (Virtual Audio Cable). Then click OK, then click Close.

Logging In and Playing That Funky Music

Finally, all you have to do now is setup your playlist in WinAmp, then log into your desired TS3 dance party channel with your bot. Once the bot is logged in, hit play on WinAmp and that sweet, sweet music should be flowing through the channel and pissing everyone off.

It’s at this stage that I highly recommend using an empty channel to sort out the volume.  Log the bot in, then hit play on WinAmp.  Then use the other TS3 client instace for you to log in as yourself and see how loud it is.  You can adjust the max volume on WinAmp and from there, TS3 users can either mute or adjust the bot volume in the channel.

What this doesn’t do …

This doesn’t give you the ability to remotely manage the bot for things like skipping tracks, pausing, playing etc.  This is pretty basic, but it works and is relatively easy to setup.

Pickles

The Associates Press tech geek, web bastard and general jackass.

One thought on “TeamSpeak 3: The Music Bot

Leave a Reply