summaryrefslogtreecommitdiffstats
path: root/tools/audio_split
diff options
context:
space:
mode:
authorOle Kristian Lien <ole.k.lien@gmail.com>2010-01-14 16:11:10 +0000
committerOle Kristian Lien <ole.k.lien@gmail.com>2010-01-14 16:11:10 +0000
commite26329e5436e451e5e521688487e1037f5400204 (patch)
treec0048b22e653b69e816f1020cf88892fe34fa067 /tools/audio_split
parent8ffa8a6fa01940bdfb370fce49d86141f88ec292 (diff)
fiks for at audio:merge scriptene skal funke
Diffstat (limited to 'tools/audio_split')
-rwxr-xr-xtools/audio_split4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/audio_split b/tools/audio_split
index 48d3065..8ccd089 100755
--- a/tools/audio_split
+++ b/tools/audio_split
@@ -14,9 +14,11 @@ if [ -z "$1" ]; then
exit 1
fi
+./require sox
# sox FAIL formats: can't open output file `1-left.mp2': SoX was compiled without MP3 encoding support
# kan ikke encode til mp{2,3}...
-echo "Splitting up audio to a left- and right-file..."
+echo -n " * Splitting up audio to a left- and right-file..."
sox $1 -c 1 $NAME-left.wav mixer -l 2> /dev/null
sox $1 -c 1 $NAME-right.wav mixer -r 2> /dev/null
+echo -e "OK!"