From 20aa6c4baa00d7c7673f2efd30d83f7fee1566a9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 28 Dec 2014 23:07:17 +0000 Subject: splitfx: use $FX env consistently in targets, too While we're at it, document the splitfx manpage and make the example suitable for tests. --- lib/dtas/splitfx.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/dtas') 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 ' \ -- cgit v1.2.3-24-ge0c7