Skip to content

$setFilter

$setFilter will set given filters.

Usage

$setFilter[filter]

Parameters

FieldTypeDescriptionRequired
filterstringJSON formattrue
FilterContainsJSON Format
nightCorearesample, asetrate{"nightCore": "value"}
bassBoostbass{"bassBoost": "value"}
8Dextrastereo, aecho, apulsator, stereowiden{"8D: "value"}
pitchasetrate, atempo, aresample{"pitch": "value"}
karaokestereotools{"karaoke": "value"}
slowedasetrate, aresample{"slowed": "value"}
deepasetrate, atempo, aresample{"deep": "value"}
trebleBoosttreble{"trebleBoost": "value"}
gateagate{"gate": "value"}
vibratovibrato{"vibrato": "value"}
flangerflanger{"flanger": "value"}
phaseraphaser{"phaser": "value"}

aoi.music also supports ffmpeg built-in filters in json format.

Example(s)

This will set the filter to nightCore and bassBoost filters:

1
client.command({
2
name: "setFilter",
3
code: `
4
$setFilter[{"nightCore": "1", "bassBoost": "0.3"}]
5
`
6
});