-
-
Notifications
You must be signed in to change notification settings - Fork 718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very Distorted Audio When Playing Short Files #129
Comments
Can you please upload an example file for me to test with? |
Yeah, here's a link to an mp3 that does it, as github won't let me upload it. |
The file provided sounds incredibly distorted or like a baby animal crying when I play it not using JDA (i played it through Chrome). |
Does it sound like this though? |
Nope. Additionally: The problem isn't that it is a short clip. The issue is that it is Mono. If you convert it to Stereo it should work just fine. For an alternative solution for an Audio Player, I would highly recommend JDA-Player. |
Okay, I'll try that. Thank you. |
Closing this as an answer has been provided. If you have further issue, feel free to reopen. |
If I play a short mp3, that seems to be if it's less than 30 seconds, it turns out VERY distorted and sounds awful. I read in another issue that it might be if the audio was mono, so I converted all audio to stereo, but that's not it. I have verified that the mp3 sounds normal if played outside the bot.
Here's the code that pertains to playing:
If needed I'll give a comparison of the mp3 being played and the audio that actually is played.
The text was updated successfully, but these errors were encountered: