Skip to content

Commit

Permalink
Add karaoke filter (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite authored Jul 15, 2020
1 parent af8dac5 commit 49888a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const Track = require('./Track')
* @property {boolean} [surrounding=false] Whether the surrounding 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} [karaoke=false] Whether the karaoke filter is enabled.
*/

const filters = {
Expand All @@ -36,7 +37,8 @@ const filters = {
normalizer: 'dynaudnorm=f=150',
surrounding: 'surround',
pulsator: 'apulsator=hz=1',
subboost: 'asubboost'
subboost: 'asubboost',
karaoke: 'stereotools=mlev=0.03'
}

/**
Expand Down

0 comments on commit 49888a0

Please sign in to comment.