Commit 306994b8 authored by Jason Jang's avatar Jason Jang Committed by Paul B Mahol

avfilter/af_apsyclip: increase protection for high frequencies

This reduces sibilance distortion when sibilance and bass are
present at the same time. Bringing the protection of high
frequencies up to about the same level as for low frequencies
should also make the quality less dependent on the frequency
balance of the playback system.
Signed-off-by: 's avatarJason Jang <jcj83429@gmail.com>
parent 18fceb99
...@@ -186,7 +186,7 @@ static int config_input(AVFilterLink *inlink) ...@@ -186,7 +186,7 @@ static int config_input(AVFilterLink *inlink)
{ {
AVFilterContext *ctx = inlink->dst; AVFilterContext *ctx = inlink->dst;
AudioPsyClipContext *s = ctx->priv; AudioPsyClipContext *s = ctx->priv;
static const int points[][2] = { {0,14}, {125,14}, {250,16}, {500,18}, {1000,20}, {2000,20}, {4000,20}, {8000,15}, {16000,5}, {20000,-10} }; static const int points[][2] = { {0,14}, {125,14}, {250,16}, {500,18}, {1000,20}, {2000,20}, {4000,20}, {8000,17}, {16000,14}, {20000,-10} };
static const int num_points = 10; static const int num_points = 10;
float scale; float scale;
int ret; int ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment