sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: James Trammell <james.trammell@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Creating files with RMS gain level instead of Peak
Date: Sat, 7 Jul 2018 11:05:12 -0400	[thread overview]
Message-ID: <CAB0xix6KkMHYJbCUcZkZA5oLN1x03TaNhL862BF2jTSy_7T24g@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 419 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 597 bytes --]

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

             reply	other threads:[~2018-07-07 15:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-07 15:05 James Trammell [this message]
2018-07-07 17:25 ` Creating files with RMS gain level instead of Peak Jeremy Nicoll - ml sox users
2018-07-07 18:19   ` Måns Rullgård
2018-07-07 19:52     ` Jeremy Nicoll - ml sox users
2018-07-07 20:47       ` Måns Rullgård
2018-07-07 20:58         ` Jeremy Nicoll - ml sox users
2018-07-08 12:39           ` Måns Rullgård
2018-07-08 13:36             ` Mikko Olkkonen
2018-07-08 14:45             ` James Trammell
2018-07-08 15:39               ` Mikko Olkkonen
2018-07-08 16:21               ` Måns Rullgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAB0xix6KkMHYJbCUcZkZA5oLN1x03TaNhL862BF2jTSy_7T24g@mail.gmail.com \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).