#!/bin/bash DIRECTORY=$(dirname $0) . $DIRECTORY/play.conf FILE=$(mktemp) sox $1 -c1 -r8000 -b16 --encoding signed-integer -L --norm=-25 $FILE.raw $CONVERTER -e -i $FILE.raw -o /dev/stdout | \ $PLAYER \ --server-address $SERVER \ --client-number $CLIENT \ --client-password $PASSWORD \ --source-id $2 \ --group-id $3