Created
August 24, 2021 12:35
-
-
Save technorav3nn/1f82bbb9959a9c8436280f7f92c9f217 to your computer and use it in GitHub Desktop.
Filters for lavalink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const reset = { | |
op: "filters", | |
}; | |
const vaporwave = { | |
op: "filters", | |
equalizer: [ | |
{ band: 1, gain: 0.3 }, | |
{ band: 0, gain: 0.3 }, | |
], | |
timescale: { pitch: 0.5 }, | |
tremolo: { depth: 0.3, frequency: 14 }, | |
}; | |
const bassboost = { | |
op: "filters", | |
equalizer: [ | |
{ band: 0, gain: 0.6 }, | |
{ band: 1, gain: 0.67 }, | |
{ band: 2, gain: 0.67 }, | |
{ band: 3, gain: 0 }, | |
{ band: 4, gain: -0.5 }, | |
{ band: 5, gain: 0.15 }, | |
{ band: 6, gain: -0.45 }, | |
{ band: 7, gain: 0.23 }, | |
{ band: 8, gain: 0.35 }, | |
{ band: 9, gain: 0.45 }, | |
{ band: 10, gain: 0.55 }, | |
{ band: 11, gain: 0.6 }, | |
{ band: 12, gain: 0.55 }, | |
{ band: 13, gain: 0 }, | |
], | |
}; | |
const pop = { | |
op: "filters", | |
equalizer: [ | |
{ band: 0, gain: 0.65 }, | |
{ band: 1, gain: 0.45 }, | |
{ band: 2, gain: -0.45 }, | |
{ band: 3, gain: -0.65 }, | |
{ band: 4, gain: -0.35 }, | |
{ band: 5, gain: 0.45 }, | |
{ band: 6, gain: 0.55 }, | |
{ band: 7, gain: 0.6 }, | |
{ band: 8, gain: 0.6 }, | |
{ band: 9, gain: 0.6 }, | |
{ band: 10, gain: 0 }, | |
{ band: 11, gain: 0 }, | |
{ band: 12, gain: 0 }, | |
{ band: 13, gain: 0 }, | |
], | |
}; | |
const soft = { | |
op: "filters", | |
lowPass: { | |
smoothing: 20.0, | |
}, | |
}; | |
const trebbleBass = { | |
op: "filters", | |
equalizer: [ | |
{ band: 0, gain: 0.6 }, | |
{ band: 1, gain: 0.67 }, | |
{ band: 2, gain: 0.67 }, | |
{ band: 3, gain: 0 }, | |
{ band: 4, gain: -0.5 }, | |
{ band: 5, gain: 0.15 }, | |
{ band: 6, gain: -0.45 }, | |
{ band: 7, gain: 0.23 }, | |
{ band: 8, gain: 0.35 }, | |
{ band: 9, gain: 0.45 }, | |
{ band: 10, gain: 0.55 }, | |
{ band: 11, gain: 0.6 }, | |
{ band: 12, gain: 0.55 }, | |
{ band: 13, gain: 0 }, | |
], | |
}; | |
const eightd = { | |
op: "filters", | |
rotation: { | |
rotationHz: 0.2, | |
}, | |
}; | |
const karaoke = { | |
op: "filters", | |
karaoke: { | |
level: 1.0, | |
monoLevel: 1.0, | |
filterBand: 220.0, | |
filterWidth: 100.0, | |
}, | |
}; | |
export const filters = { | |
karaoke, | |
eightd, | |
trebbleBass, | |
soft, | |
pop, | |
bassboost, | |
vaporwave, | |
reset, | |
}; |
better bassboost:
bass_boost_bands = [
{"band": 0, "gain": 1.0},
{"band": 1, "gain": 0.8},
{"band": 2, "gain": 0.6},
{"band": 3, "gain": 0.0},
{"band": 4, "gain": -0.3},
{"band": 5, "gain": 0.0},
{"band": 6, "gain": -0.5},
{"band": 7, "gain": 0.0},
{"band": 8, "gain": 0.0},
]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sigma w huj dzieki bratku