sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Cameron Garnham <me@da2ce7.com>
To: sox-users@lists.sourceforge.net
Subject: Sox: Soft and Hard Limiter using Compand
Date: Wed, 20 Nov 2019 17:40:29 +0800
Message-ID: <211B33F7-EB86-4FA1-AA46-676AD90AEEC8@da2ce7.com> (raw)

Hello Sox Users Mailing List,

Finding the documentation for the „compand“ effect as very difficult and hard to interpret I decided to post here the settings I used.

Soft Limiter: @-12db

compand 0.01,0.1 6:-12,-12,0,-10,0,0 0 -90 0.01

Hard Limiter: @-4db

compand 0,0 -4,-4,0,-4,0,0 0 -90 0

Regain:

gain -n -0.1

It is suitable to use these three effects in a chain.

I have left the last transfer point (0,0) that is usually omitted for clarity. It may be removed without charge to the function.

The Soft Limiter has three points:
(-12,-12): It will not touch any value lower than -12db.
(0,-10): Any value between 0db and -12db will be compressed to -10db, with a soft knee of 6db: this means that at -6db the compressor turned on 100%. (-12db + 6db).
(0,0): default value, no change if omitted.

The fast attack time of 0.01 is set the same as the delay. Release is longer 0.1.

The Hard Limiter also has three points:
(-4,-4): Any value less than -4db is not touched.
(-0,-4): Any value between 0db and -4db is limited completely to -4db.
(0,0): Default value, no change if omitted.

The attack and release, and delay time is 0, meaning the limiter acts instantly.

I hope that this helps some people.
If I have any mistakes in my interpretation, please say so.

Cameron.



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

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publically 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=211B33F7-EB86-4FA1-AA46-676AD90AEEC8@da2ce7.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

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git