Discord Bot for Syrinscape to get Stereo Sound

I figured out why it was mono, but turns out I wasn’t hearing the sound from Discord. I can’t get any audio out of the pipe and I have installed the necessary parts to make the Mac side work.

Has anyone here gotten it to work on an M1 mac with OS12?

Hey! I know this is an old post… but… can you share a link/reference to the claim that bots output at 384kbps on non boosted servers?

Thanks!

Sorry Jorge, been a while since I logged in. If you look at any of the big music bots, they have the same way of creating bots we have. There is no magic to how bots stream their sound and Discord accepts whatever bitrate you send to it that is it’s max allowed (which I saw as 384kbps on most posts / blogs / music bots).

I had read a number of posts about bot developers that said the same thing, you have to dig a bit to get all that information. It’s more about the bitrate you send to Discord. What you receive depends on your own settings and bandwidth.

I personally have not connected directly to the output of audio from Discord to figure this out, but my understanding is you could if you had the network tools to do so (and articles I had read that say this is the case).

You can search around reddit and / or on the developer forums and one of the keywords is “discord.py” (one of the python ways to send data into Discord) with lots of people discussing this topic. Discord-Audio-Pipe uses the discord.py interface to talk to Discord, so that’s how I found the information myself.

Hope this helps! Good luck. :slight_smile:

Just use Kenku FM. Creates a bot for dicord and you can pipe sounds directly from anywhere on the internet.

1 Like

I went through this process using Windows 7. A few things I would add to this tutorial for Windows 7 users. Make sure you disable the Virtual Cable in your Sounds–>Recording panel otherwise you will get some nasty feedback! Also, I think you have to run Syrinscape by loading the online player on your computer, then click on your username in the top left, which takes you to the Syrinscape website where you can play sounds. Otherwise it didn’t route it properly through the Virtual Cable for me. I had to do a lot of fiddling, it is quite confusing some times my Virtual cable would be enabled but my headphones wouldn’t work and vice versa. I think I got it now though!

1 Like

Thanks for your writeup, I’m sure a few others will also find this helpful :grin:

I take it back, I can’t get it to work, it either feeds back if I have both playback and recording enabled, or I can’t hear anything if one or the other is enabled. :frowning:

andrew, try my newest tutorial it’s MUCH easier than using the Virtual Audio Cable.

5 Likes

This worked great for me, thanks! Now I just gotta hope I don’t need to set up a new system or reset this one. :slight_smile:

1 Like

There is a much easier / more full featured video on the post: https://forum.syrinscape.com/t/ultimate-kenku-with-discord-bot-to-use-syrinscape-with-local-sound-for-online-play which I would suggest you use next time (or even switch to). It doesn’t use Discord Audio Pipe and uses a much better application called Kenku, which is way more powerful and easier to use.

1 Like

What about just sharing an app in your stream and sharing the Syrinscape Online player. That seems to work just fine. You hop in your channel for video/audio chat and then share the syrinscape audio app and poof everyone has sound. Is there a drawback to that over using a bot?

Just set up Kenku: what a godsend! Thanks Amerisun for the excellent tutorial, as well.

1 Like

Is there a drawback to that over using a bot?

A small one: with a bot you can be sure that all of your players hear the same sounds at the same time as you do.

Mind you, the last time I looked at this (~6months), I don’t think the web player was an option

Can we have Kenku send audio to more then one bot at a time? I’m wondering if it would be possible to use two bots in the same discord server. One taking care of Music, and the Other SFX. Just so that I would have more options and my players could have more versatility when it comes to a personal audio mix in Discord.

Oops. Ya know what I looked on Kenku’s site and already found the answer.

“At this time we are limited by Discord and can’t offer sending audio to multiple Discord channels in the same server.”

I don’t know if that also means having two bots active in the same channel but I’m assuming it is. I will experiment and find out.

For me (and other people) having your players go to a URL to get the sounds is difficult. Some of them don’t do it or they do it and accidentally close the browser. If you can count on your players to keep the Web Player open, the new Web Player is better!

If you use Discord, then all players have to get in Discord to voice chat, they are a captive audience at that point, so piping the sound through a bot in Discord ensures they all hear it. By using a Bot you also have the high quality sound that you wouldn’t get if you just sent it directly through to Discord yourself.

Also I have players in the US Mainland and some in Puerto Rico, those further away have latency on the Web Player and hear sounds after / lagged from others. In Discord they get the sounds the same time as everyone else. But, to put it into perspective the Web Player would be playing high quality for everyone, and Discord realizes there is latency and problems with someone it downgrades the audio (bitrate) so they don’t hear it in amazing quality as everyone else but they hear it at the same time.

The Web Player that Syrinscape provides is full quality audio and still the best thing to use, but Discord Bot is an option for various reasons.

Fair. I’ve found the best way for my players is via kenku and the discord bot. Sharing the screen (the web player) via discord did get a bit taxing on my system during a campaign. Mostly because I had a million windows open. Roll20, dndbeyond, everyones character sheets in DDB, 3d rolling, sysrinscape, video streaming on discord etc. So I switched to the kenku method and it’s worked really really well. The players while captive as you mention, can adjust the volume accordingly. What I like to do is pipe the music in via the bot and kenku at about a 70% volume. Let them adjust it to their liking. Then when I have an important one shot sound I send it through at 100% to make sure the attention is received.

The web link option provided and worked on hard by syrinscape is appreciated, but with some technically challenged players… even just keeping a window open is a challenge. In discord, they are already there and you can ensure the bot is operating, though they can turn the volume down all the way if they wanted.

So, I agree with you. Now. :slight_smile:

oh and THANK YOU for the tutorial. :slight_smile:

1 Like

Just FYI, I’ve found that using firefox for the web player is MUCH easier on my PC than using chrome. Might just be me though…

1 Like

Thank you for posting that! I’ve been having an issue that I started troubleshooting and I sent an email late last night to syrinscape begging for help. (I’m sure they will respond soon) Basically I’ve been noticing lag when playing via the web player. So much lag that it stutters/crackles/and seemingly bends the audio out of tune. It’s pretty aweful actually. I checked all my hardware and drivers and all that. But no matter the audio was bad. I downloaded the offline player and the sound worked beautifully.

I checked all my networking setup (I’m an OG network tech) and everything looked really good. I just couldn’t figure out why I was getting the lag.

In alllll my troubleshooting I didn’t do one of the most basic things. TRY ANOTHER BROWSER.

So thank you for that kind suggestion as I tried it and you know what? Firefox has 0 of the problems I’m having with Chrome. Well… maybe a tiny bit but barely noticeable by me and it certainly won’t be by my players.

So thanks for the firefox tip. Now that I think about it. The chrome extensions I have installed could also be a bit of the culprit so a fresh firefox install dedicated to syrinscape is a great move.

For clarity. I installed and tested it on firefox and it was great. Tried multiple soundscapes. Then immediately went into chrome and tried them. (bad) went back to firefox (good) back to chrome (bad).

So thank you again. :slight_smile:

1 Like