From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 24A50406F7 for ; Sat, 29 Jan 2022 01:16:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 845B368B1E3; Sat, 29 Jan 2022 03:16:19 +0200 (EET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A8CB968AFB4 for ; Sat, 29 Jan 2022 03:16:12 +0200 (EET) Received: by mail-pj1-f54.google.com with SMTP id l24-20020a17090aec1800b001b55738f633so8252737pjy.1 for ; Fri, 28 Jan 2022 17:16:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EWMUdWI+toH/8HW7SX2uhbIXVXTakh8mGtIKfBFT7Tk=; b=Od9gHFcboCwAEsWB1HaK4E+SfoZ67pnxJgEbN2n+cspA6bBpNb+6kmeuLYYXulaQz0 1Heo8cV+HzjMSyO+yysOpzAraJrT2TBotOb/sQEdPRPkyRBQM6IuYfmfFIt/Z7Uj3+vW RrTWlAtJz+a/wwuYoez3++6fabsUPp6P3anYIvKFhjephiim6BXXPKGZOitPY6ybJz30 is4GF7SsLwU0Nfz9Mq7xpmjLQQ8HprLtSXWFJGLhTYI65K8GMzEb7eVNvQo8tm2aJDRp A4/EaDA23ODFQOIIz1pBnnEEMvSdjxS4IbEf9zYw4L71oKOIwJQaABpw3W7yjEzeG/6E R4Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EWMUdWI+toH/8HW7SX2uhbIXVXTakh8mGtIKfBFT7Tk=; b=SMzlishafLBax1AS9DIjF0UhC0mD/HEqRo6v/xQad55QuALwL+zQVQS9t+FnNlpzhh 26z9nIL9HGZwvAykvcCj9fP2E+X/B+nusYf0Wr5j7wgf0o/jGKEWRZEdYk1qffAV5zro HjoflZf3LWWEhnq3ADnijPc4NMH1dtbDvohDIrzm2R/PGMJ71Ajkaro+PhwKNZq6La3L t5yYlijvZAOs/nchrHLvqfHyAP5r25Eal2L5KGntUpNE1QtSpG91WrWN0xqg6RaOMy4d z7pRliVpn5h2alAQGw/S6mnZB5QOXnjTQzAf9VaEkdSrGMP7fQ8te7MjxCVMb9dKyiCb r9yw== X-Gm-Message-State: AOAM533cfnKZ9OF6dyILxaCE2Cw3fv8qO4XMgtx8kTmbPE4+YnX0LGSv 9HXYoTGxrnNAkq/NbcfPAqY4KH8BxJ814A== X-Google-Smtp-Source: ABdhPJxmucmMKMQYB670SZq8xc4MwbPBLszYlX2LFVxTkyXzu4RcphwYyka4WQuIOiW0+Gla3a/iJg== X-Received: by 2002:a17:90b:1952:: with SMTP id nk18mr22455562pjb.101.1643418970716; Fri, 28 Jan 2022 17:16:10 -0800 (PST) Received: from ryzen-archlinux.localdomain (node-1w7jr9quwtshe9pluzzjlv6my.ipv6.telus.net. [2001:569:7da8:e800:e2d5:5eff:fe8e:845a]) by smtp.googlemail.com with ESMTPSA id nk11sm3446458pjb.55.2022.01.28.17.16.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 17:16:10 -0800 (PST) From: Jason Jang To: ffmpeg-devel@ffmpeg.org Date: Fri, 28 Jan 2022 17:15:54 -0800 Message-Id: <20220129011554.308345-1-jcj83429@gmail.com> X-Mailer: git-send-email 2.35.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/3] avfilter/af_apsyclip: increase protection for high frequencies X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Jason Jang Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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: Jason Jang --- libavfilter/af_apsyclip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_apsyclip.c b/libavfilter/af_apsyclip.c index 2a79ed3..1f41148 100644 --- a/libavfilter/af_apsyclip.c +++ b/libavfilter/af_apsyclip.c @@ -186,7 +186,7 @@ static int config_input(AVFilterLink *inlink) { AVFilterContext *ctx = inlink->dst; 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; float scale; int ret; -- 2.35.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".