#!/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"
