CODEC2_HOME=/home/brucerob/codec2-2010-11-11/src TFILE="/tmp/$(basename $0).$$.tmp" $CODEC2_HOME/c2enc $1 $TFILE $CODEC2_HOME/c2dec $TFILE $2
Here's a sox command to get a wav file (or whatever) into the proper raw format for codec2:
sox input.wav -r 8000 -t raw -s -2 output.raw
0 comments:
Post a Comment