For YS event hosts: Discord stereo audio setup tutorial

Questions, comments, concerns, & fixes
Post Reply
User avatar
HawkbitAlpha
Veteran
Veteran
Posts: 784
Joined: Thu Jun 23, 2011 6:08 am
Favorite Aircraft: T-38/F-5 family
Location: 55 or 10 to 12
OS: Win10 Pro
Has thanked: 148 times
Been thanked: 184 times
Contact:

For YS event hosts: Discord stereo audio setup tutorial

Post by HawkbitAlpha » Sun Nov 21, 2021 10:30 am

NOTE: This is a quick tutorial that I wrote earlier this year to be used by Indy and Alpha Star for hosting airshows. Since I now realize that this can apply to other potential YS events that use music or audio in some way, I decided to copy said tutorial down here on HQ and file it under the general support forum.

-----------------------------------

PREAMBLE

When I made my airshow debut at Chicago in November 2020, I realized that Discord had affected the quality of the music I had submitted. The problem: unlike good old Teamspeak, Discord won't let normal users input stereo sound, and it mixes everything down to mono instead, destroying the quality for more advanced files. It may not be immediately apparent to everyone, but trust me, the difference between mono and stereo is night and day for people with good headphones. For a sample, plug in your best headphones, speakers, or other electronic audio-spamming device, and try this out:


So, I set out trying to find ways around this problem. The solution for ASE was (as shown above) to just ask everyone to send me their audio files, but that wouldn't have worked if the show had narration. Then for Alpha's WLAS, it was to use a dedicated Discord music bot, since bots aren't subjected to the mono mixdown constraint... only to discover that to volume control the best bots, you have to pay money towards them, as Alpha did.

With those out, what was the next best thing? Take the usual Teamspeak-style approach, and run it through a custom Discord bot account; again, bot accounts are able to stream in stereo, Teamspeak style. I've experimented with this method, and it works (though I'd heavily recommend only trying it if you have two computers for the setup). That's where this tutorial comes in.

NECESSARY LINKS
  • A walkthrough of how to make and invite a basic Discord bot account. If you have a second account that you use to stream music for shows, I'd highly recommend doing it on that one.
  • Discord Audio Pipe. Sends your computer's audio inputs to the bot for it to stream.
  • Virtual Audio Cable, for giving your computer's sound an input driver. If you already have a Stereo Mix input, you can skip installing this one.
STEPS
  1. Once you've got the bot set up using the first link, invite it to the server you want to stream on (i.e. YSTB for Indy, YSAA for Alpha, etc).
  2. While you still have that token on hand, copy it into a text file called "token.txt", and put said text file in the same folder as Discord Audio Pipe. This lets DAP route your audio input to the bot.
  3. With Discord Audio Pipe active, set its mic input to either Stereo Mix or Virtual Audio Cable, depending on whether or not you needed to install VAC.
  4. Try it out!
ADDITIONAL STEPS FOR VAC
  • If you're using VAC, you won't be able to use it properly without doing some tweaking. If you're on Windows, head over to the Sound menu in the Control Panel.
  • VAC's Cable Input/Output is inactive as long as the computer's normal audio hardware is active. Set the VAC devices to be the defaults, and they'll start working/streaming.
  • Optional, for if you want to be able to keep the speakers functioning for yourself: Go to the Recording tab, pick Properties for Cable Output, and set "Listen to this device".
Image

A/A Mamba #4 "Wedge", XO @ 2nd United Combat Wing | 2020-Present
Organizer, Co-Host, & Pilot @ YS Military Airshows Association | 2021-Present
Founder, EXO @ Intercontinental Airways VA | 2011-2014
Official Brony Pilot @ YSFHQ | 2020-Present

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests