Skip to content

$addFilter

$addFilter will add given filters.

Usage

$addFilter[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 add nightCore and bassBoost filters:

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