Bot plays audio sped up
The audio file plays fine on the computer. On the server it seems sped up at least 2x or 3x.
4 Replies
- What are your intents?
GuildVoiceStates
is required to receive voice data!
- Show what dependencies you are using -- generateDependencyReport()
is exported from @discordjs/voice
.
- Try looking at common examples: https://github.com/discordjs/voice-examples.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPI converted to mp3 and it works fine
are you sure that the source file is ogg with a opus codec
i.e. does StreamType.Ogg work? what if you leave it blank ? (it will automatically infer type)
@Redmega
Hmm lets see
I downloaded it straight from the discord soundboard
Oh interesting so as an ogg with inferred type it also works fine
So I guess the ogg that discord outputs doesn't use the opus codec