ref: 943431e46c852a12fa0769ad3e4a93575c7da2dc
parent: e8ec2b7ddf2a1168e272a98655d23ea921bde9d8
author: cbagwell <cbagwell>
date: Thu Sep 6 22:06:02 EDT 2001
Adding some comments to testcd.sh
--- a/src/testcd.sh
+++ b/src/testcd.sh
@@ -2,6 +2,13 @@
# create WAV-Files that can be used for an audio Test CD
# all files are created in the current directory
#
+# Command Line options:
+# testcd.sh filename_prefix audio_length
+#
+# filename_prefix is what each soundfile starts with. Defaults to
+# using testcd as the prefix.
+# audio_length is the length of audio data in seconds. Defaults to 30
+# seconds.
#
# length of sample file in seconds
@@ -63,7 +70,7 @@
#
-# ok, lets start with the actual createion of the files
+# ok, lets start with the actual creation of the files
#
#
@@ -191,7 +198,7 @@
newname offset $LENGTH
$SOX $SOXOPT $NAME synth $LEN square 1 vol 0.1 synth sine mix 1000 $FADE $VOL
newname offset1 $LENGTH
-$SOX $SOXOPT $NAME synth $LEN square 1 0 0 square 1 vol 0.1 0 25 $FADE
+$SOX $SOXOPT $NAME synth $LEN square 1 0 0 square 1 vol 0.1 $FADE