diff options
author | Eric Wong <e@80x24.org> | 2014-12-28 23:07:17 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-12-28 23:54:15 +0000 |
commit | 20aa6c4baa00d7c7673f2efd30d83f7fee1566a9 (patch) | |
tree | 81e5b14a5097b420107be340b8a85b00d6caa8a9 /lib/dtas | |
parent | 97a390057c473c515aba7b7fb371a7c9569a87cb (diff) | |
download | dtas-20aa6c4baa00d7c7673f2efd30d83f7fee1566a9.tar.gz |
While we're at it, document the splitfx manpage and make the example suitable for tests.
Diffstat (limited to 'lib/dtas')
-rw-r--r-- | lib/dtas/splitfx.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb index 9af3faf..36cdf9f 100644 --- a/lib/dtas/splitfx.rb +++ b/lib/dtas/splitfx.rb @@ -9,7 +9,7 @@ require_relative 'xs' require 'tempfile' class DTAS::SplitFX # :nodoc: CMD = 'sox "$INFILE" $COMMENTS $OUTFMT "$TRACKNUMBER.$SUFFIX" '\ - '$TRIMFX $RATEFX $DITHERFX' + '$TRIMFX $FX $RATEFX $DITHERFX' include DTAS::Process include DTAS::XS attr_reader :infile, :env @@ -61,7 +61,7 @@ class DTAS::SplitFX # :nodoc: }, "opusenc" => { "command" => 'sox "$INFILE" $COMMENTS $OUTFMT - ' \ - '$TRIMFX $RATEFX $DITHERFX | opusenc --music ' \ + '$TRIMFX $FX $RATEFX $DITHERFX | opusenc --music ' \ '--raw-bits $BITS_PER_SAMPLE ' \ '$OPUSENC_BITRATE --raw-rate $RATE --raw-chan $CHANNELS ' \ '--raw-endianness $ENDIAN_OPUSENC ' \ |