Set initial volume without enabling inlineVolume

Im using @discordjs/voice and would like set the initial volume for playback because the default is way too loud. But I have no need to update it on the fly and don't want the extra overhead of turning on inlineVolume. Is there a way to just set the initial volume?
5 Replies
d.js toolkit
d.js toolkit9mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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 OP
duck
duck9mo ago
well if you're able to modify the audio source itself, you can just modify the audio but if you mean that you'd like to set the volume once every time the resource is created, then stop needing the VolumeTransformer, then no there isn't a means of doing this side note #djs-voice probably would've been a better place for this
Chase
ChaseOP9mo ago
Thank you for the response. Apologies for putting this in the wrong channel. One follow up question: As a discord user I have the ability to set my input volume within my own user settings. Is there a way to do this for the bot account? (programatically or otherwise)
duck
duck9mo ago
that's an entirely client-side setting, not a part of the api, so no I also imagine that it behaves very similarly to the VolumeTransformer
Chase
ChaseOP9mo ago
Ah. That's unfortunate. Thanks for your time.
Want results from more Discord servers?
Add your server