Add shells cripts

This commit is contained in:
Donald Burr 2015-02-19 00:03:01 -08:00
parent 7e6fc09f72
commit a96d932c14
7 changed files with 102 additions and 0 deletions

9
acatcher/convert_audio.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
# Signed 16 bit Little Endian, Rate 22050 Hz, Mono
#
# use "play" command to play back audio
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"