diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-12-01 06:36:56 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-12-01 06:44:48 +0000 |
commit | 3338a0cf6087b981702227734af7817e97498a8e (patch) | |
tree | 508a4e832a1a39707e8101b46b3d7c4419556572 /bin/dtas-splitfx | |
parent | 6283ff9870cd151ca5a4c62710e4b10f7d1447ef (diff) | |
download | dtas-3338a0cf6087b981702227734af7817e97498a8e.tar.gz |
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.
Diffstat (limited to 'bin/dtas-splitfx')
-rwxr-xr-x | bin/dtas-splitfx | 1 |
1 files changed, 1 insertions, 0 deletions
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 |