From 9bf21db1e0ad815187b8c93ef985ef591a606645 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 20 Jan 2015 02:19:08 +0000 Subject: rename the TrimFX class to TFX TrimFX was too ambiguous with the common environment variable we use throughout dtas. Since TFX is more limited in scope but should be more frequently-typed by users (of -splitfx) we'll use the shorter name here. --- examples/tfx.sample.yml | 27 +++++++++++++++++++++++++++ examples/trimfx.sample.yml | 27 --------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 examples/tfx.sample.yml delete mode 100644 examples/trimfx.sample.yml (limited to 'examples') diff --git a/examples/tfx.sample.yml b/examples/tfx.sample.yml new file mode 100644 index 0000000..2cbfbbc --- /dev/null +++ b/examples/tfx.sample.yml @@ -0,0 +1,27 @@ +# To the extent possible under law, Eric Wong has waived all copyright and +# related or neighboring rights to this example. +# Note: be sure to update test/test_trimfx.rb if you change this, +# test_trimfx.rb relies on this. +--- +infile: foo.flac +env: + PATH: $PATH + SOX_OPTS: $SOX_OPTS -R + I2: second.flac + I3: third.flac +comments: + ARTIST: John Smith + ALBUM: Hello World + YEAR: 2013 +track_start: 1 +effects: +# the following commands are equivalent +- trim 52 =53 sh sox $SOXIN $SOXOUT $TRIMFX vol -6dB +- trim 52 1 sox vol -6dB # shorthand + +# as are the following (for little endian machines) +- trim 52 1 eca -eadb:-6 +- trim 52 1 sh sox $SOXIN $SOX2ECA $TRIMFX | ecasound $ECAFMT + -i stdin -o stdout -eadb:-6 | sox $ECA2SOX - $SOXOUT +# SOX2ECA='-tf32 -c$CHANNELS -r$RATE' +# ECAFMT='-f32_le,$CHANNELS,$RATE diff --git a/examples/trimfx.sample.yml b/examples/trimfx.sample.yml deleted file mode 100644 index 2cbfbbc..0000000 --- a/examples/trimfx.sample.yml +++ /dev/null @@ -1,27 +0,0 @@ -# To the extent possible under law, Eric Wong has waived all copyright and -# related or neighboring rights to this example. -# Note: be sure to update test/test_trimfx.rb if you change this, -# test_trimfx.rb relies on this. ---- -infile: foo.flac -env: - PATH: $PATH - SOX_OPTS: $SOX_OPTS -R - I2: second.flac - I3: third.flac -comments: - ARTIST: John Smith - ALBUM: Hello World - YEAR: 2013 -track_start: 1 -effects: -# the following commands are equivalent -- trim 52 =53 sh sox $SOXIN $SOXOUT $TRIMFX vol -6dB -- trim 52 1 sox vol -6dB # shorthand - -# as are the following (for little endian machines) -- trim 52 1 eca -eadb:-6 -- trim 52 1 sh sox $SOXIN $SOX2ECA $TRIMFX | ecasound $ECAFMT - -i stdin -o stdout -eadb:-6 | sox $ECA2SOX - $SOXOUT -# SOX2ECA='-tf32 -c$CHANNELS -r$RATE' -# ECAFMT='-f32_le,$CHANNELS,$RATE -- cgit v1.2.3-24-ge0c7