Displaying 1 result from an estimated 1 matches for "asenam".
Did you mean:
asename
2008 Jan 14
1
Asterisk 1.4 Call Recording
...ion of SOX and SOXMIX
# (set according to your system settings, eg. /usr/bin)
SOX=/usr/bin/sox
SOXMIX=/usr/bin/soxmix
# lame is only required when sox does not support liblame
LAME=/usr/local/bin/lame
# command line variables
LEFT="$1"
RIGHT="$2"
OUT="$3"
LTMP="asename $1 .wavmp.wav"
RTMP="asename $2 .wavmp.wav"
#test if input files exist
test ! -r $LEFT && exit
test ! -r $RIGHT && exit
# convert mono to stereo, adjust balance to -1/1
# left channel
$SOX $LEFT -t wav -c 2 $LTMP pan -1
# right channel
$SOX $RIGHT -t wav -c 2 $RT...