filenames end in raw, and finish audio convert script

This commit is contained in:
Donald Burr 2015-02-18 01:26:10 -08:00
parent 01f8beea54
commit a5871e107a
2 changed files with 7 additions and 1 deletions

4
acatcher/aconvert Normal file → Executable file
View file

@ -1,2 +1,6 @@
#!/bin/sh
# Signed 16 bit Little Endian, Rate 22050 Hz, Mono
INFILE="$1"
OUTFILE="$INFILE.wav"
#sox -r 44100 -e unsigned -b 8 -c 1 <RAW_FILE> <TARGET_FILE>
sox -r 22050 -e signed -b 16 -L -c 1 "$1" "$OUTFILE"