shithub: sox

Download patch

ref: c99441ba41ca6def848417d57a8109f2b51277c1
parent: 50d4f9e42a1acd518adc01e6fc85719178a3eac8
author: cbagwell <cbagwell>
date: Sat Nov 27 13:16:06 EST 2004

New sample script

--- a/TODO
+++ b/TODO
@@ -1,6 +1,9 @@
 People are encouraged to pick some of these and implement it.  Send
 all patches to cbagwell@users.sourceforge.net.
 
+  o VOX format says its reading/writing SIGN2 data when its
+    really OKI ADPCM.
+
   o Add an interface to libst so that applications can query
     what size/encoding/rate/channels a given format handles.
     Then applications could modify parameters before an error
--- /dev/null
+++ b/scripts/startrec.sh
@@ -1,0 +1,16 @@
+#!/bin/sh
+#
+# startrec
+#
+#   Example idea from Douglas Held.
+
+#   Allows you to start a recording session but only start writing
+#   to disk once non-silence is detect. For example, use this to
+#   start your favorite command line for recording and walk
+#   over to your record player and start the song.  No periods
+#   of silence will be recorded.
+#
+# This script is really just an example... Its just as easy to add
+# the "silence 1 5 %2" to the end of the normal rec command.
+
+rec $* silence 1 5 2%