How would you create a bass boost command when you are using Lavaplayer with JDA (Java Discord API)?
Have a command like !bassboost 0-100.
How would you create a bass boost command when you are using Lavaplayer with JDA (Java Discord API)?
Have a command like !bassboost 0-100.
Copyright © 2021 Jogjafile Inc.
After hours of trying different things to get it to function correctly I ended up using a Lavaplayer EqualizerFactory.
Firstly I copied these values from here
then I created a new EqualizerFactory and added it as a filter to the guild music manager and also set the frame buffer duration to make the bass-boost take less time to take effect like so:
then I finally created a little method that you can provide from 0-200 to set the bass-boost level
so that the bass-boost took effect on the current playing song I needed this:
and that's about it really!