I just set this up myself to test it and I’m anxious to test out the quality but really easy to set up and this seems like a great method to get good quality sounds and not have the players have to click any links outside of discord. Really well done.,
It works great with the full client as well. I used it tonight with the full client instead of the online player using the same instructions of piping the sound to the virtual output and sounded fantastic tonight.
Thanks again.
Works well, thanks.
Interesting thing to note is that I have other audio pipes from my Go XLR, both output and input. The bot can only choose from input pipes, microphones etc. but no outputs, chat, stream, etc.
I have installed the dap-2.2-win64 app, created the bot and have it on my discord server. I followed all the instructions in the youtube video, but when I start dap-2.2-win64 it says “Token error, No token provided”.
The token is in the same location as the exe and has the correct token pasted in the text file named token.txt, I have regenerated and recopied the token string but that doesn’t help.
If anyone has any suggestions please let me know, I am very excited having this on the verge of working.
Davecan, Be sure that you have file extensions on in Windows, or else your file might be named token.txt.txt (because file extensions are hidden by default).
I have dark mode, but showing the view tab and the checkbox for “file name extensions”.
That was exactly what the problem was. Thank you, your awesome!
EDIT - I can change channels in the Dap application while running it so that’s all good.
Hi Amerisun,
I have got to the same stage as Davecan, so your tip about file extensions really helped, thank you.
However, I have now run into another problem, where Discord Audio Pipe won’t let me add it to more than one channel in the server, and I will need it in several. Any suggestions? Or do I need to pick the channel I want to run it in, only one at a time, at each run?
![image|690x159]
(upload://hcLZMItM3K9iksSRoYcPGImzLhI.png)
Many thanks in advance.
Garrick, The only way I was able to do that (just tested it out) is to create a second bot, and configure it exactly like the first one. Then copy the discord audio pipe directory you created in this tutorial and in the second one edit the token and put the second bot’s token in there. Then one bot lives in one channel, while another bot lives in another. They both can feed from the same audio device and both sound the same in each channel.
It would seem that only one bot of the same kind can live in the same server in one channel. So in the user interface you’re showing above, the second device you add has to go to a different server (not the same). I checked Discord’s documentation and it’s a limitation on their side they don’t allow a bot to be in more than one channel on the same server at the same time.
Thanks Amerisun it is working great for me and my players. Great sound and really easy to setup.
After a few headaches, I finally got this working on my Mac. Here’s a couple tips for those trying to run from python on a Mac:
- You MUST have the opus library package installed (e.g. “brew install opus”) to get sound output from the discord bot.
- To get the GUI to work, I had to rollback the PyQt5 module to version 5.14.
- Run the python script from the terminal window.
Hope this saves at least one person some time and energy.
Quick Question? So this seems to work with the desktop client also…I mean if I start the desktop client up with the Cable Input selected and then move to to head set the sound seems to flow through the bot? I personally like the desktop client better then the web client so hoping this works?
Let me know if you get this to work my dude! I reeeeeeeeeeallly don’t like the online player.
Yes, it can work with the offline player too. If you are using virtual audio cables then Windows’ ability to route the sound from the fantasy/sci-fi player to the cable is the way. In fact - this works for every application that produces audio.
Ooooooooooooooooooooooh baby! This thank you brought to you by one super happy nerd!
Can’t wait to give this a shot in next weeks game. Thanks again!
Any chance you could write an idiots guide on how to get it setup on Mac?
I’ve been going in circles trying to figure everything out but I’m clueless at this stuff. All I’ve managed to do is follow a YouTube vid on making a discord bot on Mac…
Hey RetroPanda, I quickly threw together this pdf guide on installing python and setting it up to run the discord-audio-pipe app. I left out how to setup the virtual cable and how to setup the discord bot as it is already explained in the video. If you run into any issues while going through it let me know in case I missed something.
Yeah, I’m failing right at the start Step 2 brings up -bash: brew: command not found and further down #!/bin/bash: no such file or directory.
Hmmm, I think that url may be broken now, try copying/pasting this command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Let me know if that doesn’t work or you run into a new problem
Awesome, seem to be making progress but now I’m stuck at part 6, I get -bash:thenn: command not found.
Part of the problem could be that copy/pasting from the PDF isn’t proving efficient as it seems to put spaces in places that shouldn’t have spaces, but I’m not sure where spaces should be. Do you have the guide in a word doc by any chance?
Yeah, looks like a copy/paste problem. Here’s a Word doc version: