Add karaoke filter (#42)

This commit is contained in:
Snowflake 2020-07-15 13:58:59 +05:45 committed by GitHub
parent af8dac51f4
commit 49888a0b30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ const Track = require('./Track')
* @property {boolean} [surrounding=false] Whether the surrounding filter is enabled. * @property {boolean} [surrounding=false] Whether the surrounding filter is enabled.
* @property {boolean} [pulsator=false] Whether the pulsator filter is enabled. * @property {boolean} [pulsator=false] Whether the pulsator filter is enabled.
* @property {boolean} [subboost=false] Whether the subboost filter is enabled. * @property {boolean} [subboost=false] Whether the subboost filter is enabled.
* @property {boolean} [karaoke=false] Whether the karaoke filter is enabled.
*/ */
const filters = { const filters = {
@ -36,7 +37,8 @@ const filters = {
normalizer: 'dynaudnorm=f=150', normalizer: 'dynaudnorm=f=150',
surrounding: 'surround', surrounding: 'surround',
pulsator: 'apulsator=hz=1', pulsator: 'apulsator=hz=1',
subboost: 'asubboost' subboost: 'asubboost',
karaoke: 'stereotools=mlev=0.03'
} }
/** /**