From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 76EAA1F55B for ; Sun, 7 Jun 2020 07:18:47 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jhpZo-0006Ai-Qo; Sun, 07 Jun 2020 07:18:40 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhpZj-0006A8-RC for sox-users@lists.sourceforge.net; Sun, 07 Jun 2020 07:18:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/wLGq7eQoSn4BKwXi3EaqR7pAFo7YVnlOlBo5gkS6Y4=; b=W/0WbVwPdPPXLOPjWPLZIf8JZi Zb9NTF+NX4UtCn/SEZ5OXtYhewADHlZqMff+tWrFNOwDAto88OlnvoE0MW0iB/DF1JLLCblaxN463 aSeBs0QMBRemsV/46rGx7QDHf1viPmoY3k53ZVvWj9yYuiftI+bT2YfJo1MfzdBcIYW8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To: From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=/wLGq7eQoSn4BKwXi3EaqR7pAFo7YVnlOlBo5gkS6Y4=; b=LAnrVslIzKU4Fp4K2g+fQWKWR0 6YZzAB/qw8y7dvTJ3MdvnibmTJoSWkznupiBHMd+34wxrR11gy2wxOWgvdd8SoEWk7Aj+Gm3OAKmE 6hlGFOuFrJSYD2iXIh+linJt7fAgf+EfdZC0IEx1f/c+6rUEVpydS5otudSDOnwYVrAQ=; Received: from [64.71.152.64] (helo=dcvr.yhbt.net) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jhpZh-00EjIn-Lx for sox-users@lists.sourceforge.net; Sun, 07 Jun 2020 07:18:35 +0000 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 747BE1F55B; Sun, 7 Jun 2020 07:02:53 +0000 (UTC) Date: Sun, 7 Jun 2020 07:02:53 +0000 From: Eric Wong To: sox-users@lists.sourceforge.net Message-ID: <20200607070253.GA29058@dcvr> References: <20200522112224.GA22603@extensa> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200522112224.GA22603@extensa> X-Headers-End: 1jhpZh-00EjIn-Lx Subject: Re: Process too soft/loud audio with sox X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net Francesco Ariis wrote: > Hello sox-users, > I have an audio file which is at times too soft and at times too > loud. I would like to make the soft parts a little bit louder and the > loud parts a little bit softer. > > Can sox do this? compand and mcompand can do it in sox natively. They're a bit tricky to learn but fmiser wrote some great posts: https://sourceforge.net/p/sox/mailman/message/23427259/ https://public-inbox.org/sox-users/20090829011522.cf27e6ee.fmiser@gmail.com/ For simple cases or a final pass after compand/mcompand; I like tap_limiter from the TAP-plugins LADSPA package: sox $IN $OUT ladspa -lr tap_limiter -4 3.5 (limit to -4dB, add 3.5dB gain) http://tap-plugins.sourceforge.net/ I usually use compand or mcompand for recordings which need a lot of correction. tap_limiter is good for recordings which only need a little correction, or after everything else (EQ, compand/mcompand, etc...) _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users