Lavalink supports a wide range of audio filters that can be applied to a player via the filters object. Applying a new filters object in an update request will override all previously applied filters.
Supported filters include:
volume: Adjusts volume from 0.0 to 5.0 (1.0 is 100%).equalizer: Adjusts 15 frequency bands (0-14).karaoke: Targets specific bands to eliminate vocals.timescale: Changes speed, pitch, and rate.tremolo: Oscillates volume.vibrato: Oscillates pitch.rotation: Audio panning (stereo rotation).distortion: Generates unique audio effects using sine/cosine offsets/scales.channelMix: Mixes left and right channels.lowPass: Suppresses higher frequencies.pluginFilters: A map of configurations for custom installed plugins.
{
"volume": 1.0,
"equalizer": [
{
"band": 0,
"gain": 0.2
}
],
"karaoke": {
"level": 1.0,
"monoLevel": 1.0,
"filterBand": 220.0,
"filterWidth": 100.0
},
"timescale": {
"speed": 1.0,
"pitch": 1.0,
"rate": 1.0
},
"tremolo": {
"frequency": 2.0,
"depth": 0.5
},
"vibrato": {
"frequency": 2.0,
"depth": 0.5
},
"rotation": {
"rotationHz": 0
},
"distortion": {
"sinOffset": 0.0,
"sinScale": 1.0,
"cosOffset": 0.0,
"cosScale": 1.0,
"tanOffset": 0.0,
"tanScale": 1.0,
"offset": 0.0,
"scale": 1.0
},
"channelMix": {
"leftToLeft": 1.0,
"leftToRight": 0.0,
"rightToLeft": 0.0,
"rightToRight": 1.0
},
"lowPass": {
"smoothing": 20.0
},
"pluginFilters": {
"myPlugin": {
"myPluginKey": "myPluginValue"
}
}
}