about summary refs log tree commit homepage
path: root/lib/dtas/tracklist.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-05-07 08:35:46 +0000
committerEric Wong <e@80x24.org>2015-05-07 08:36:12 +0000
commit403ed90e2e7bed3e017938d76e17037b0d5059b6 (patch)
tree495cb9d926e25e587d941e22c7a784f94faff685 /lib/dtas/tracklist.rb
parent04d90417d3f26f0b389e58b9934941f378c92094 (diff)
downloaddtas-403ed90e2e7bed3e017938d76e17037b0d5059b6.tar.gz
The `gain' effect seems superior as it can "see" across the effects
chain to take into account extra/lost headroom.

For example, this allows me to add the the "gain -h" effect at the
start of my effects chain before the RGFX placeholder in my source
command, so when I play a file requiring a -6dB ReplayGain adjustment,
I will only need an additional -4dB of headroom to accomodate the
10dB boost at 20Hz I use (for listening through headphones):

Before:
  RGFX='vol -6dB'
  sox "$INFILE" $SOXFMT - $TRIMFX $RGFX vol -10dB equalizer 20 0.7071q 10

After:
  RGFX='gain -6'
  sox "$INFILE" $SOXFMT - $TRIMFX gain -h $RGFX equalizer 20 0.7071q 10
Diffstat (limited to 'lib/dtas/tracklist.rb')
0 files changed, 0 insertions, 0 deletions