diff options
author | Ole Kristian Lien <ole.k.lien@gmail.com> | 2009-12-16 06:46:51 +0000 |
---|---|---|
committer | Ole Kristian Lien <ole.k.lien@gmail.com> | 2009-12-16 06:46:51 +0000 |
commit | cebfad21252cb4884df416dbcf7bda844ba4de11 (patch) | |
tree | 37242c715579dd471229245c42bf7fdc60279df8 /tools/audio_split | |
parent | d7ffd2160ced7c1dc812fb3a76e876191bd5a3f1 (diff) |
diverse...
Diffstat (limited to 'tools/audio_split')
-rwxr-xr-x | tools/audio_split | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/audio_split b/tools/audio_split index a5e5525..48d3065 100755 --- a/tools/audio_split +++ b/tools/audio_split @@ -14,5 +14,9 @@ if [ -z "$1" ]; then exit 1 fi -sox $1 -c 1 $NAME-left.$EXT mixer -l 2> /dev/null -sox $1 -c 1 $NAME-right.$EXT mixer -r 2> /dev/null +# 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..." +sox $1 -c 1 $NAME-left.wav mixer -l 2> /dev/null +sox $1 -c 1 $NAME-right.wav mixer -r 2> /dev/null |