From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,HTML_NONELEMENT_30_40, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 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 D16C01F62D for ; Sat, 7 Jul 2018 15:05:25 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1fbom1-0002sQ-I4; Sat, 07 Jul 2018 15:05:21 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fbom0-0002sG-NK for sox-users@lists.sourceforge.net; Sat, 07 Jul 2018 15:05:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pRmQEuOltEGoGtnl9nc8Vqt+pYpaMKHjGGv+EwXpd8g=; b=GEBYL3flbgy3LqtMgZF3TBs3G5 fmIlLXlB0NPeXYUdBmF9CW+YSqZEHZX5/F2hCspr5YP+1sVcYeYV45pJWgSqyszeLE8tUwWNeUENB Fsh/rExOBFxqCJeGf7ncncXxyKYPhvEoNjNvp0ijGLZT4SjV4MfIhDOfdjAmqZM5SDao=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=pRmQEuOltEGoGtnl9nc8Vqt+pYpaMKHjGGv+EwXpd8g=; b=e U2mL32wWj7yu/v5vY/9GabR0DM5qwQM3AcqBBhr+zu4/0n+wAJXvcLwZh3/V0ZofUXAK+m4ej8uwj lE747e29ALfe+E+QsbYMS96Ia1j5l6phIeAmJhceWl5T33eKP5am9Tb5PeoqsGv1pYloWTnPRgCtv 5+sHHmRo64iNqTOc=; Received: from mail-ua0-f173.google.com ([209.85.217.173]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1fbolz-00FLuS-Ev for sox-users@lists.sourceforge.net; Sat, 07 Jul 2018 15:05:20 +0000 Received: by mail-ua0-f173.google.com with SMTP id r18-v6so9283611ual.13 for ; Sat, 07 Jul 2018 08:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=pRmQEuOltEGoGtnl9nc8Vqt+pYpaMKHjGGv+EwXpd8g=; b=oleDtQqStUXEqwXs0aduia1WAoSy4cYyvTI5GqwVZ3BjVgkEAtmEtGP5HkkAdZrdTL aT+PkZbisOhtNG2xylFVZWkcoh+GsRZvzyYFf1fFIPQ3lewCEdzw6jx6h5bLzNoNpIHY ngBJnbYb6eO1WY33SMhLBdACklgk2jcC9paW3kJK9n+Z3oV5dQPcvNzZt7zLM0lSMmF9 ydzo+5sBaVfE0ckxHkwz1L3xALwSpKVlcispT8uHeQDaKOjL+F6gQIjSEgfBdPGUOt+H BSF+pfntMZFh3bD6MiQQk9NQNNw3KcjQ98dDNChYVcg7KAuk6zrX9hmZlQAhDN3L3Ykj fTpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pRmQEuOltEGoGtnl9nc8Vqt+pYpaMKHjGGv+EwXpd8g=; b=ZGz6TXyHcgaoe9qxa3Sz7rDlrthSvpGrK/asXL5dnEgOFZ3TuMbRcZGMX/aIi1s7vh 8MA8ob5mEhuyUI4Bh+gUuF+i6j+GU5jU8OgrIiy3lBX1MBvq4TNRTfQj4gU1sR7dcekt Op3kIQf47ZDV3C7eP9XOlv8SxZ9t6okBX1/RPO6WodpFKtSx1IRe93AHKDQAg131ye6G lWnSJ2k9yGrCwd6JdikPDGqL5uA4AH4Ncx5IRyp6ZONZAGRwuQaMWE2gVjLHUAkFq+ls xjdmHWP8A50+RzT9zanXyqpHBjDW/UVi32Kvs5LhRpAVQq138RrNfXifBTeko5E/ovKi QydA== X-Gm-Message-State: AOUpUlFLMpTIXzbqDUz/WzJzklVBk2WgqHzsjXHhp/uRINxiE0vMWim2 LnOnUdxDvEb0Z+MX4uPQNsQc1NHSlIBVhpTvPuA= X-Google-Smtp-Source: AAOMgpe49YYhkChCnkWwb86GkTnYYYyuB30wp4xqet8TmvfKHGN57Z7Z8jIby42Zo14LVRHAN1yBeG5HiKOwKTABNtU= X-Received: by 2002:ab0:49e2:: with SMTP id f31-v6mr1241851uad.117.1530975913300; Sat, 07 Jul 2018 08:05:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:7c8b:0:0:0:0:0 with HTTP; Sat, 7 Jul 2018 08:05:12 -0700 (PDT) From: James Trammell Date: Sat, 7 Jul 2018 11:05:12 -0400 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1fbolz-00FLuS-Ev Subject: Creating files with RMS gain level instead of Peak 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: multipart/mixed; boundary="===============4067759778079966756==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============4067759778079966756== Content-Type: multipart/alternative; boundary="00000000000078d7c505706a1b1a" --00000000000078d7c505706a1b1a Content-Type: text/plain; charset="UTF-8" Hi, I have been using SoX lately to generate white noise files. However, the gain parameter in SoX only allows specifying amplitude as dBFS Peak. I need dBFS RMS. I use the following to generate a file of stereo white noise at -12dBFS Peak: sox -V -b 24 -r 96000 -n noise_white_stereo_24b_ 96000Hz_m12dBFSpeak_tpdf_10s.wav synth 10 whitenoise whitenoise gain -12 dither How can I get gain of -12dBFS RMS? Thanks. --00000000000078d7c505706a1b1a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have been using SoX la= tely to generate white noise files. However, the gain parameter in SoX only= allows specifying amplitude as dBFS Peak. I need dBFS RMS.=C2=A0

I use the following to generate a file of stereo white nois= e at -12dBFS Peak:

sox -V -b 24 -r 96000 -n noise_= white_stereo_24b_96000Hz_m12dBFSpeak_tpdf_10s.wav synth 10 whiten= oise whitenoise gain -12 dither

How can I get gain= of -12dBFS RMS?


Thanks.
--00000000000078d7c505706a1b1a-- --===============4067759778079966756== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============4067759778079966756== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============4067759778079966756==--