From 3338a0cf6087b981702227734af7817e97498a8e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 1 Dec 2013 06:36:56 +0000 Subject: splitfx: support --no-dither/-D option splitfx is incapable of knowing in 100% of cases whether dithering should be used (as it has no visibility into sox internals), so support disabling it completely via command-line. This is like the identical sox option, and passed to sox(1), too. This feature is useful for splitting already-mastered 16-bit recordings. --- bin/dtas-splitfx | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/dtas-splitfx b/bin/dtas-splitfx index d75c1de..6e98aba 100755 --- a/bin/dtas-splitfx +++ b/bin/dtas-splitfx @@ -13,6 +13,7 @@ OptionParser.new('', 24, ' ') do |op| op.on('-n', '--dry-run') { opts[:dryrun] = true } op.on('-j', '--jobs [JOBS]', Integer) { |val| opts[:jobs] = val } op.on('-s', '--quiet', '--silent') { |val| opts[:silent] = true } + op.on('-D', '--no-dither') { |val| opts[:no_dither] = true } op.parse!(ARGV) end -- cgit v1.2.3-24-ge0c7