about summary refs log tree commit homepage
path: root/examples/tfx.sample.yml
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-01-20 02:19:08 +0000
committerEric Wong <e@80x24.org>2015-01-20 02:19:08 +0000
commit9bf21db1e0ad815187b8c93ef985ef591a606645 (patch)
treef6e9148fbd57340545cfc61ad24f717a6e327f4f /examples/tfx.sample.yml
parent65bb4baf0e479ff7cfbf0a8422824834c9f06ab1 (diff)
downloaddtas-9bf21db1e0ad815187b8c93ef985ef591a606645.tar.gz
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.
Diffstat (limited to 'examples/tfx.sample.yml')
-rw-r--r--examples/tfx.sample.yml27
1 files changed, 27 insertions, 0 deletions
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